* 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.
This commit is contained in:
parent
29598fc7e0
commit
36ef425c19
@ -1,3 +1,17 @@
|
||||
2003-10-13 Andre Auzi <aauzi@users.sourceforge.net>
|
||||
|
||||
* 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.
|
||||
|
||||
2003-10-13 Steven Edwards <Steven_Ed4153@yahoo.com>
|
||||
|
||||
* include/winnt.h (CONTAINING_RECORD): Add macro.
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user