From 3fb65d4597a2348e73fd7384d2db31a07a8707c5 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Fri, 17 Jun 2005 10:43:58 +0000 Subject: [PATCH] - Use W32API. - Fix some protoypes. svn path=/trunk/; revision=15964 --- reactos/lib/winspool/stubs.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/reactos/lib/winspool/stubs.c b/reactos/lib/winspool/stubs.c index 4caaa106d6c..5c7c8f1b708 100644 --- a/reactos/lib/winspool/stubs.c +++ b/reactos/lib/winspool/stubs.c @@ -8,7 +8,6 @@ * REVISIONS: */ -#undef __USE_W32API #include #include @@ -616,7 +615,7 @@ DeletePrintProvidorW(LPWSTR Name, LPWSTR Environment, LPWSTR PrintProvidor) /* * @unimplemented */ -int +DWORD STDCALL DeviceCapabilitiesA(LPCSTR Device, LPCSTR Port, WORD Capability, LPSTR Buffer, CONST DEVMODEA *DevMode) { @@ -630,7 +629,7 @@ DeviceCapabilitiesA(LPCSTR Device, LPCSTR Port, WORD Capability, LPSTR Buffer, C /* * @unimplemented */ -int +DWORD STDCALL DeviceCapabilitiesW(LPCWSTR Device, LPCWSTR Port, WORD Capability, LPWSTR Buffer, CONST DEVMODEW *DevMode) { @@ -993,7 +992,7 @@ FindNextPrinterChangeNotification(HANDLE Printer, PDWORD Change, PVOID NotifyOpt */ BOOL STDCALL -FreePrinterNotifyInfo(PVOID /* Really PPRINTER_NOTIFY_INFO */ NotifyInfo) +FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO NotifyInfo) { OutputDebugStringW(L"winspool FreePrinterNotifyInfo stub called\n"); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);