user32/tests: Fix typedefs & function definitions so that the code compiles in visual C++ 2005.

This commit is contained in:
Jeff Latimer 2008-04-22 23:49:42 +10:00 committed by Alexandre Julliard
parent fcbc9fad96
commit 41e757c812
1 changed files with 4 additions and 4 deletions

View File

@ -32,8 +32,8 @@
#include "wine/test.h"
typedef LONG WINAPI (*PBROADCAST)( DWORD,LPDWORD,UINT,WPARAM,LPARAM );
typedef LONG WINAPI (*PBROADCASTEX)( DWORD,LPDWORD,UINT,WPARAM,LPARAM,PBSMINFO );
typedef LONG (WINAPI *PBROADCAST)( DWORD,LPDWORD,UINT,WPARAM,LPARAM );
typedef LONG (WINAPI *PBROADCASTEX)( DWORD,LPDWORD,UINT,WPARAM,LPARAM,PBSMINFO );
static PBROADCAST pBroadcastA;
static PBROADCAST pBroadcastW;
static PBROADCASTEX pBroadcastExA;
@ -249,8 +249,8 @@ static void test_parametersEx(PBROADCASTEX broadcastex)
PulseEvent(hevent);
}
static BOOL WINAPI (*pOpenProcessToken)(HANDLE, DWORD, HANDLE*);
static BOOL WINAPI (*pAdjustTokenPrivileges)(HANDLE, BOOL, PTOKEN_PRIVILEGES, DWORD, PTOKEN_PRIVILEGES, PDWORD);
static BOOL (WINAPI *pOpenProcessToken)(HANDLE, DWORD, HANDLE*);
static BOOL (WINAPI *pAdjustTokenPrivileges)(HANDLE, BOOL, PTOKEN_PRIVILEGES, DWORD, PTOKEN_PRIVILEGES, PDWORD);
static void test_noprivileges(void)
{