plugplay: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-04 09:57:09 +01:00 committed by Alexandre Julliard
parent eb1ff55636
commit 47dc412315
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = plugplay.exe
IMPORTS = advapi32 rpcrt4 user32

View File

@ -190,7 +190,7 @@ static DWORD WINAPI service_handler( DWORD ctrl, DWORD event_type, LPVOID event_
SetEvent( stop_event );
return NO_ERROR;
default:
WINE_FIXME( "got service ctrl %x\n", ctrl );
WINE_FIXME( "got service ctrl %lx\n", ctrl );
status.dwCurrentState = SERVICE_RUNNING;
SetServiceStatus( service_handle, &status );
return NO_ERROR;
@ -208,17 +208,17 @@ static void WINAPI ServiceMain( DWORD argc, LPWSTR *argv )
if ((err = RpcServerUseProtseqEpA( protseq, 0, endpoint, NULL )))
{
ERR("RpcServerUseProtseqEp() failed, error %u\n", err);
ERR("RpcServerUseProtseqEp() failed, error %lu\n", err);
return;
}
if ((err = RpcServerRegisterIf( plugplay_v0_0_s_ifspec, NULL, NULL )))
{
ERR("RpcServerRegisterIf() failed, error %u\n", err);
ERR("RpcServerRegisterIf() failed, error %lu\n", err);
return;
}
if ((err = RpcServerListen( 1, RPC_C_LISTEN_MAX_CALLS_DEFAULT, TRUE )))
{
ERR("RpcServerListen() failed, error %u\n", err);
ERR("RpcServerListen() failed, error %lu\n", err);
return;
}