reactos/rostests/apitests/w32knapi/ntuser/NtUserCallNoParam.c
Amine Khaldi 4304f847cb [W32KNAPI]
* Silence some warnings.

svn path=/trunk/; revision=57387
2012-09-25 21:30:25 +00:00

70 lines
1.2 KiB
C

INT
Test_NoParamRoutine_CreateMenu(PTESTINFO pti) /* 0 */
{
HMENU hMenu;
hMenu = (HMENU)NtUserCallNoParam(_NOPARAM_ROUTINE_CREATEMENU);
TEST(IsMenu(hMenu) == TRUE);
DestroyMenu(hMenu);
return APISTATUS_NORMAL;
}
INT
Test_NoParamRoutine_CreatePopupMenu(PTESTINFO pti) /* 1 */
{
HMENU hMenu;
hMenu = (HMENU)NtUserCallNoParam(_NOPARAM_ROUTINE_CREATEMENUPOPUP);
TEST(IsMenu(hMenu) == TRUE);
DestroyMenu(hMenu);
return APISTATUS_NORMAL;
}
INT
Test_NoParamRoutine_DisableProcessWindowsGhosting(PTESTINFO pti) /* 2 */
{
return APISTATUS_NORMAL;
}
INT
Test_NoParamRoutine_ClearWakeMask(PTESTINFO pti) /* 3 */
{
return APISTATUS_NORMAL;
}
INT
Test_NoParamRoutine_AllowForegroundActivation(PTESTINFO pti) /* 4 */
{
return APISTATUS_NORMAL;
}
INT
Test_NoParamRoutine_DestroyCaret(PTESTINFO pti) /* 5 */
{
return APISTATUS_NORMAL;
}
INT
Test_NoParamRoutine_LoadUserApiHook(PTESTINFO pti) /* 0x1d */
{
//DWORD dwRet;
/* dwRet = */NtUserCallNoParam(_NOPARAM_ROUTINE_LOADUSERAPIHOOK);
// TEST(dwRet != 0);
return APISTATUS_NORMAL;
}
INT
Test_NtUserCallNoParam(PTESTINFO pti)
{
Test_NoParamRoutine_CreateMenu(pti);
Test_NoParamRoutine_CreatePopupMenu(pti);
Test_NoParamRoutine_LoadUserApiHook(pti); /* 0x1d */
return APISTATUS_NORMAL;
}