diff options
author | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2003-10-13 06:02:06 +0000 |
---|---|---|
committer | Dimitri Papadopoulos <dimitri_at@users.sf.net> | 2003-10-13 06:02:06 +0000 |
commit | 36ef425c19b48aa111df6fd464808e4b3b1fe39c (patch) | |
tree | 2da5cd0a2cd29ada970cbe53fd984a92de66e8d3 /winsup/w32api/include/winuser.h | |
parent | 29598fc7e089ff7fddb7a1bf4ac5b61600b5c132 (diff) | |
download | cygnal-36ef425c19b48aa111df6fd464808e4b3b1fe39c.tar.gz cygnal-36ef425c19b48aa111df6fd464808e4b3b1fe39c.tar.bz2 cygnal-36ef425c19b48aa111df6fd464808e4b3b1fe39c.zip |
* include/windows.h (CopyCursor): Although MSDN pretends this is
a function to be imported from user32.lib, it's actually a macro.
From the Delphi FAQ:
Question:
Where is the Windows API function CopyCursor defined in
32-Bit versions of Delphi and C++ Builder?
Answer:
While the call is documented in the Win32 help file, the
function is simply mapped to the Windows API function
CopyIcon(). Note that the 32 bit version of CopyIcon
does not take a hInstance parameter.
Diffstat (limited to 'winsup/w32api/include/winuser.h')
-rw-r--r-- | winsup/w32api/include/winuser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h index 1c1284183..abe43f3ca 100644 --- a/winsup/w32api/include/winuser.h +++ b/winsup/w32api/include/winuser.h @@ -3161,7 +3161,7 @@ BOOL WINAPI CloseWindow(HWND); BOOL WINAPI CloseWindowStation(HWINSTA); int WINAPI CopyAcceleratorTableA(HACCEL,LPACCEL,int); int WINAPI CopyAcceleratorTableW(HACCEL,LPACCEL,int); -HCURSOR WINAPI CopyCursor(HCURSOR); +#define CopyCursor(c) ((HCURSOR)CopyIcon((HICON)(c))) HICON WINAPI CopyIcon(HICON); HANDLE WINAPI CopyImage(HANDLE,UINT,int,int,UINT); BOOL WINAPI CopyRect(LPRECT,LPCRECT); |