comparison dwt/internal/win32/WINAPI.d @ 213:36f5cb12e1a2

Update to SWT 3.4M7
author Frank Benoit <benoit@tionex.de>
date Sat, 17 May 2008 17:34:28 +0200
parents 72ef824d4983
children a8fed3e56433
comparison
equal deleted inserted replaced
212:ab60f3309436 213:36f5cb12e1a2
2097 LPCWSTR lpszDevice, // pointer to string specifying device name 2097 LPCWSTR lpszDevice, // pointer to string specifying device name
2098 LPCWSTR lpszOutput, // do not use; set to NULL 2098 LPCWSTR lpszOutput, // do not use; set to NULL
2099 DEVMODE *lpInitData 2099 DEVMODE *lpInitData
2100 // pointer to optional printer data 2100 // pointer to optional printer data
2101 ); 2101 );
2102 HBITMAP CreateDIBSection( 2102 HBITMAP CreateDIBSection(
2103 HDC hdc, // handle to device context 2103 HDC hdc, // handle to device context
2104 BITMAPINFO *pbmi, 2104 BITMAPINFO *pbmi, // pointer to structure containing bitmap size,
2105 // pointer to structure containing bitmap size, 2105 // format, and color data
2106 // format, and color data 2106 UINT iUsage, // color data type indicator: RGB values or
2107 UINT iUsage, // color data type indicator: RGB values or 2107 // palette indexes
2108 // palette indexes 2108 VOID **ppvBits, // pointer to variable to receive a pointer to
2109 VOID *ppvBits, // pointer to variable to receive a pointer to 2109 // the bitmap's bit values
2110 // the bitmap's bit values 2110 HANDLE hSection, // optional handle to a file mapping object
2111 HANDLE hSection, // optional handle to a file mapping object 2111 DWORD dwOffset // offset to the bitmap bit values within the
2112 DWORD dwOffset // offset to the bitmap bit values within the 2112 // file mapping object
2113 // file mapping object
2114 ); 2113 );
2115 HANDLE CreateEventA( 2114 HANDLE CreateEventA(
2116 LPSECURITY_ATTRIBUTES lpEventAttributes, 2115 LPSECURITY_ATTRIBUTES lpEventAttributes,
2117 // pointer to security attributes 2116 // pointer to security attributes
2118 BOOL bManualReset, // flag for manual-reset event 2117 BOOL bManualReset, // flag for manual-reset event
2856 HWND hWnd, // handle to original window 2855 HWND hWnd, // handle to original window
2857 UINT uCmd // relationship flag 2856 UINT uCmd // relationship flag
2858 ); 2857 );
2859 LONG GetWindowLongA(HWND hWnd, int nIndex); 2858 LONG GetWindowLongA(HWND hWnd, int nIndex);
2860 LONG GetWindowLongW(HWND hWnd, int nIndex); 2859 LONG GetWindowLongW(HWND hWnd, int nIndex);
2860
2861 LONG_PTR GetWindowLongPtrA(
2862 HWND hWnd,
2863 int nIndex
2864 );
2865 LONG_PTR GetWindowLongPtrW(
2866 HWND hWnd,
2867 int nIndex
2868 );
2869
2861 BOOL GetWindowPlacement( 2870 BOOL GetWindowPlacement(
2862 HWND hWnd, 2871 HWND hWnd,
2863 WINDOWPLACEMENT *lpwndpl 2872 WINDOWPLACEMENT *lpwndpl
2864 ); 2873 );
2865 int GetWindowTextA( 2874 int GetWindowTextA(
3639 LONG SetWindowLongW( 3648 LONG SetWindowLongW(
3640 HWND hWnd, 3649 HWND hWnd,
3641 int nIndex, 3650 int nIndex,
3642 LONG dwNewLong 3651 LONG dwNewLong
3643 ); 3652 );
3653
3654 LONG_PTR SetWindowLongPtrA(
3655 HWND hWnd,
3656 int nIndex,
3657 LONG_PTR dwNewLong
3658 );
3659
3660 LONG_PTR SetWindowLongPtrW(
3661 HWND hWnd,
3662 int nIndex,
3663 LONG_PTR dwNewLong
3664 );
3665
3644 BOOL SetWindowPlacement( 3666 BOOL SetWindowPlacement(
3645 HWND hWnd, 3667 HWND hWnd,
3646 WINDOWPLACEMENT *lpwndpl 3668 WINDOWPLACEMENT *lpwndpl
3647 ); 3669 );
3648 BOOL SetWindowPos( 3670 BOOL SetWindowPos(
3797 HINSTANCE hInstance // handle of application instance 3819 HINSTANCE hInstance // handle of application instance
3798 ); 3820 );
3799 SHORT VkKeyScanA(char ch); 3821 SHORT VkKeyScanA(char ch);
3800 SHORT VkKeyScanW(wchar ch); 3822 SHORT VkKeyScanW(wchar ch);
3801 BOOL WaitMessage(); 3823 BOOL WaitMessage();
3824
3825 UINT GetOutlineTextMetrics(
3826 HDC hdc,
3827 UINT cbData,
3828 LPOUTLINETEXTMETRICW lpOTM
3829 );
3830
3831 BOOL GetLayeredWindowAttributes(
3832 HWND hwnd,
3833 COLORREF *pcrKey,
3834 BYTE *pbAlpha,
3835 DWORD *pdwFlags
3836 );
3837 BOOL SetLayeredWindowAttributes(
3838 HWND hwnd,
3839 COLORREF crKey,
3840 BYTE bAlpha,
3841 DWORD dwFlags
3842 );
3843 BOOL GetScrollBarInfo(
3844 HWND hwnd,
3845 LONG idObject,
3846 PSCROLLBARINFO psbi
3847 );
3848 BOOL PrintWindow(
3849 HWND hwnd, // Window to copy
3850 HDC hdcBlt, // HDC to print into
3851 UINT nFlags // Optional flags
3852 );
3853
3802 } 3854 }
3803 3855
3804 extern (C) 3856 extern (C)
3805 { 3857 {
3806 int wcslen(wchar* string); 3858 int wcslen(wchar* string);