- Use W32API.

- Fix some protoypes.

svn path=/trunk/; revision=15964
This commit is contained in:
Filip Navara 2005-06-17 10:43:58 +00:00
parent 19955a57e1
commit 3fb65d4597

View file

@ -8,7 +8,6 @@
* REVISIONS: * REVISIONS:
*/ */
#undef __USE_W32API
#include <windows.h> #include <windows.h>
#include <winerror.h> #include <winerror.h>
@ -616,7 +615,7 @@ DeletePrintProvidorW(LPWSTR Name, LPWSTR Environment, LPWSTR PrintProvidor)
/* /*
* @unimplemented * @unimplemented
*/ */
int DWORD
STDCALL STDCALL
DeviceCapabilitiesA(LPCSTR Device, LPCSTR Port, WORD Capability, LPSTR Buffer, CONST DEVMODEA *DevMode) 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 * @unimplemented
*/ */
int DWORD
STDCALL STDCALL
DeviceCapabilitiesW(LPCWSTR Device, LPCWSTR Port, WORD Capability, LPWSTR Buffer, CONST DEVMODEW *DevMode) DeviceCapabilitiesW(LPCWSTR Device, LPCWSTR Port, WORD Capability, LPWSTR Buffer, CONST DEVMODEW *DevMode)
{ {
@ -993,7 +992,7 @@ FindNextPrinterChangeNotification(HANDLE Printer, PDWORD Change, PVOID NotifyOpt
*/ */
BOOL BOOL
STDCALL STDCALL
FreePrinterNotifyInfo(PVOID /* Really PPRINTER_NOTIFY_INFO */ NotifyInfo) FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO NotifyInfo)
{ {
OutputDebugStringW(L"winspool FreePrinterNotifyInfo stub called\n"); OutputDebugStringW(L"winspool FreePrinterNotifyInfo stub called\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);