mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
Fix GCC build
svn path=/trunk/; revision=73374
This commit is contained in:
parent
65212f3682
commit
c4a61ec7f2
|
@ -26,6 +26,8 @@ EnumPrintProcessorsW(PWSTR pName, PWSTR pEnvironment, DWORD Level, PBYTE pPrintP
|
|||
BOOL WINAPI
|
||||
GetPrintProcessorDirectoryW(PWSTR pName, PWSTR pEnvironment, DWORD Level, PBYTE pPrintProcessorInfo, DWORD cbBuf, PDWORD pcbNeeded)
|
||||
{
|
||||
PSPOOLSS_PRINT_PROVIDER pPrintProvider;
|
||||
|
||||
// Sanity checks
|
||||
if (cbBuf && !pPrintProcessorInfo)
|
||||
{
|
||||
|
@ -34,6 +36,6 @@ GetPrintProcessorDirectoryW(PWSTR pName, PWSTR pEnvironment, DWORD Level, PBYTE
|
|||
}
|
||||
|
||||
// Always call this function on the Local Spooler.
|
||||
PSPOOLSS_PRINT_PROVIDER pPrintProvider = CONTAINING_RECORD(PrintProviderList.Flink, SPOOLSS_PRINT_PROVIDER, Entry);
|
||||
pPrintProvider = CONTAINING_RECORD(PrintProviderList.Flink, SPOOLSS_PRINT_PROVIDER, Entry);
|
||||
return pPrintProvider->PrintProvider.fpGetPrintProcessorDirectory(pName, pEnvironment, Level, pPrintProcessorInfo, cbBuf, pcbNeeded);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue