by cly166 » Wed Sep 29, 2010 1:49 am
Dear Antonio:
Here is the searching result in VS2005:
1. Not found SetClassLongPtr in any .lib, found SetClassLongA/W in user32.lib, unicows.lib. and coredll.lib only.
2. Following command connected with SetClassLongPtr is extracted from winuser.h, SetClassLongPtr seems only for _win64 compiling.
Regards
CLY
*------------------
WINUSERAPI
DWORD
WINAPI
SetClassLongA(
__in HWND hWnd,
__in int nIndex,
__in LONG dwNewLong);
WINUSERAPI
DWORD
WINAPI
SetClassLongW(
__in HWND hWnd,
__in int nIndex,
__in LONG dwNewLong);
#ifdef UNICODE
#define SetClassLong SetClassLongW
#else
#define SetClassLong SetClassLongA
#endif // !UNICODE
#ifdef _WIN64
WINUSERAPI
ULONG_PTR
WINAPI
GetClassLongPtrA(
__in HWND hWnd,
__in int nIndex);
WINUSERAPI
ULONG_PTR
WINAPI
GetClassLongPtrW(
__in HWND hWnd,
__in int nIndex);
#ifdef UNICODE
#define GetClassLongPtr GetClassLongPtrW
#else
#define GetClassLongPtr GetClassLongPtrA
#endif // !UNICODE
WINUSERAPI
ULONG_PTR
WINAPI
SetClassLongPtrA(
__in HWND hWnd,
__in int nIndex,
__in LONG_PTR dwNewLong);
WINUSERAPI
ULONG_PTR
WINAPI
SetClassLongPtrW(
__in HWND hWnd,
__in int nIndex,
__in LONG_PTR dwNewLong);
#ifdef UNICODE
#define SetClassLongPtr SetClassLongPtrW
#else
#define SetClassLongPtr SetClassLongPtrA
#endif // !UNICODE
#else /* _WIN64 */
#define GetClassLongPtrA GetClassLongA
#define GetClassLongPtrW GetClassLongW
#ifdef UNICODE
#define GetClassLongPtr GetClassLongPtrW
#else
#define GetClassLongPtr GetClassLongPtrA
#endif // !UNICODE
#define SetClassLongPtrA SetClassLongA
#define SetClassLongPtrW SetClassLongW
#ifdef UNICODE
#define SetClassLongPtr SetClassLongPtrW
#else
#define SetClassLongPtr SetClassLongPtrA
#endif // !UNICODE
#endif /* _WIN64 */
#endif /* !NOWINOFFSETS */
*------------------