mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
- Fix crash in cursoricon test.
svn path=/trunk/; revision=54253
This commit is contained in:
parent
9bd7961e1c
commit
ee477c63ed
4 changed files with 18 additions and 16 deletions
|
@ -554,6 +554,7 @@ WINAPI
|
|||
CreateSystemThreads(DWORD dwUnknown)
|
||||
{
|
||||
NtUserxCreateSystemThreads(dwUnknown);
|
||||
ExitThread(0);
|
||||
}
|
||||
|
||||
BOOL
|
||||
|
@ -572,12 +573,13 @@ DeviceEventWorker(DWORD dw1, DWORD dw2, DWORD dw3, DWORD dw4, DWORD dw5)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
BOOL
|
||||
HCURSOR
|
||||
WINAPI
|
||||
GetCursorFrameInfo(DWORD dw1, DWORD dw2, DWORD dw3, DWORD dw4, DWORD dw5)
|
||||
GetCursorFrameInfo(HCURSOR hCursor, LPCWSTR name, DWORD istep, PDWORD rate_jiffies, INT *num_steps)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
if (hCursor) return NtUserGetCursorFrameInfo(hCursor, istep, rate_jiffies, num_steps);
|
||||
|
||||
return LoadImageW( NULL, name, IMAGE_CURSOR, 0, 0, LR_DEFAULTSIZE );
|
||||
}
|
||||
|
||||
BOOL
|
||||
|
|
|
@ -268,7 +268,7 @@
|
|||
@ stdcall GetClipboardViewer() NtUserGetClipboardViewer
|
||||
@ stdcall GetComboBoxInfo(long ptr) ; Direct call NtUserGetComboBoxInfo
|
||||
@ stdcall GetCursor()
|
||||
@ stub GetCursorFrameInfo
|
||||
@ stdcall GetCursorFrameInfo(long long long ptr ptr)
|
||||
@ stdcall GetCursorInfo(ptr) NtUserGetCursorInfo
|
||||
@ stdcall GetCursorPos(ptr)
|
||||
@ stdcall GetDC(long) NtUserGetDC
|
||||
|
|
|
@ -1907,13 +1907,13 @@ NtUserGetCPD(
|
|||
GETCPD Flags,
|
||||
ULONG_PTR Proc);
|
||||
|
||||
DWORD
|
||||
HCURSOR
|
||||
NTAPI
|
||||
NtUserGetCursorFrameInfo(
|
||||
DWORD Unknown0,
|
||||
DWORD Unknown1,
|
||||
DWORD Unknown2,
|
||||
DWORD Unknown3);
|
||||
HCURSOR hCursor,
|
||||
DWORD istep,
|
||||
PDWORD rate_jiffies,
|
||||
INT *num_steps);
|
||||
|
||||
BOOL
|
||||
NTAPI
|
||||
|
|
|
@ -1242,13 +1242,13 @@ BOOL APIENTRY NtUserGetUpdatedClipboardFormats(
|
|||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD
|
||||
APIENTRY
|
||||
HCURSOR
|
||||
NTAPI
|
||||
NtUserGetCursorFrameInfo(
|
||||
DWORD Unknown0,
|
||||
DWORD Unknown1,
|
||||
DWORD Unknown2,
|
||||
DWORD Unknown3)
|
||||
HCURSOR hCursor,
|
||||
DWORD istep,
|
||||
PDWORD rate_jiffies,
|
||||
INT *num_steps)
|
||||
{
|
||||
STUB
|
||||
|
||||
|
|
Loading…
Reference in a new issue