HMODULE16 WINAPI GetExePtr(HANDLE16);
WORD WINAPI GetExeVersion16(void);
WORD WINAPI GetExpWinVer16(HMODULE16);
-HANDLE WINAPI GetFastQueue16(void);
+HQUEUE16 WINAPI GetFastQueue16(void);
DWORD WINAPI GetHeapSpaces16(HMODULE16);
INT16 WINAPI GetInstanceData16(HINSTANCE16,WORD,INT16);
BOOL16 WINAPI GetModuleName16(HINSTANCE16,LPSTR,INT16);
VOID WINAPI PostEvent16(HTASK16);
WORD WINAPI PrestoChangoSelector16(WORD,WORD);
WORD WINAPI SelectorAccessRights16(WORD,WORD,WORD);
-void WINAPI SetFastQueue16(DWORD,HANDLE);
+void WINAPI SetFastQueue16(DWORD,HQUEUE16);
VOID WINAPI SetPriority16(HTASK16,INT16);
FARPROC16 WINAPI SetResourceHandler16(HINSTANCE16,LPCSTR,FARPROC16);
WORD WINAPI SetSelectorLimit16(WORD,DWORD);
/***********************************************************************
* SetFastQueue (KERNEL.624)
*/
-VOID WINAPI SetFastQueue16( DWORD thread, HANDLE hQueue )
+VOID WINAPI SetFastQueue16( DWORD thread, HQUEUE16 hQueue )
{
TEB *teb = NULL;
if ( !thread )
else if ( IsTask16( (HTASK16)thread ) )
teb = (TASK_GetPtr( (HANDLE16)thread ))->teb;
- if ( teb ) teb->queue = (HQUEUE16) hQueue;
+ if ( teb ) teb->queue = hQueue;
}
/***********************************************************************
* GetFastQueue (KERNEL.625)
*/
-HANDLE WINAPI GetFastQueue16( void )
+HQUEUE16 WINAPI GetFastQueue16( void )
{
- HANDLE ret = (HANDLE)NtCurrentTeb()->queue;
+ HQUEUE16 ret = NtCurrentTeb()->queue;
if (!ret) FIXME("(): should initialize thread-local queue, expect failure!\n" );
return ret;