mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 20:50:02 +00:00
wevtsvc: 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:
parent
5c22bc551c
commit
338e4ca0cf
|
@ -1,4 +1,3 @@
|
||||||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
|
||||||
MODULE = wevtsvc.dll
|
MODULE = wevtsvc.dll
|
||||||
IMPORTS = rpcrt4 advapi32
|
IMPORTS = rpcrt4 advapi32
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ static void eventlog_update_status(DWORD state)
|
||||||
|
|
||||||
static void WINAPI eventlog_handler(DWORD control)
|
static void WINAPI eventlog_handler(DWORD control)
|
||||||
{
|
{
|
||||||
TRACE("%#x\n", control);
|
TRACE("%#lx\n", control);
|
||||||
|
|
||||||
switch (control)
|
switch (control)
|
||||||
{
|
{
|
||||||
|
@ -71,7 +71,7 @@ void WINAPI ServiceMain(DWORD argc, LPWSTR *argv)
|
||||||
svc_handle = RegisterServiceCtrlHandlerW(L"EventLog", eventlog_handler);
|
svc_handle = RegisterServiceCtrlHandlerW(L"EventLog", eventlog_handler);
|
||||||
if (!svc_handle)
|
if (!svc_handle)
|
||||||
{
|
{
|
||||||
ERR("RegisterServiceCtrlHandler error %u\n", GetLastError());
|
ERR("RegisterServiceCtrlHandler error %lu\n", GetLastError());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue