#include <apitest.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winspool.h>
Go to the source code of this file.
◆ WIN32_NO_STATUS
◆ GetWinprintFunc()
Definition at line 17 of file main.c.
18{
23
24
26 {
27 skip(
"Could not determine the path to the Print Processor directory, last error is %lu!\n",
GetLastError());
29 }
30
31 wcscat(wszWinprintPath,
L"\\winprint.dll");
32
33
35 if (!hWinprint)
36 {
38 {
39 skip(
"LoadLibraryW failed for %S with error %lu!\n", wszWinprintPath,
GetLastError());
41 }
42
43
44
46 if (!hWinprint)
47 {
48 skip(
"LoadLibraryW failed for localspl.dll with error %lu!\n",
GetLastError());
50 }
51 }
52
53
55 if (!pFunc)
56 {
59 }
60
61 return pFunc;
62}
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char * FunctionName
#define ERROR_MOD_NOT_FOUND
#define GetProcAddress(x, y)
_CRTIMP wchar_t *__cdecl wcscat(_Inout_updates_z_(_String_length_(_Dest)+_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
DWORD WINAPI GetLastError(void)
WINBOOL WINAPI GetPrintProcessorDirectoryW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded)
Referenced by START_TEST().