mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[WinSpool] Fix MSVC Build
Fix build.
This commit is contained in:
parent
b4848c379f
commit
9d18946919
2 changed files with 4 additions and 2 deletions
|
@ -519,6 +519,8 @@ SetPortA(PSTR pName, PSTR pPortName, DWORD dwLevel, PBYTE pPortInfo)
|
|||
DWORD len;
|
||||
BOOL res;
|
||||
|
||||
pi3A = (PORT_INFO_3A*)pPortInfo;
|
||||
|
||||
TRACE("SetPortA(%s, %s, %lu, %p)\n", pName, pPortName, dwLevel, pPortInfo);
|
||||
|
||||
if ( dwLevel != 3 )
|
||||
|
|
|
@ -3132,7 +3132,7 @@ SetPrinterA(HANDLE hPrinter, DWORD Level, PBYTE pPrinter, DWORD Command)
|
|||
{
|
||||
// Set the pPrinter parameter to a pointer to a DWORD value that specifies the new printer status.
|
||||
PRINTER_INFO_6 pi6;
|
||||
pi6.dwStatus = (DWORD)pPrinter;
|
||||
pi6.dwStatus = (DWORD_PTR)pPrinter;
|
||||
pPrinter = (LPBYTE)&pi6;
|
||||
Level = 6;
|
||||
Command = 0;
|
||||
|
@ -3288,7 +3288,7 @@ SetPrinterW(HANDLE hPrinter, DWORD Level, PBYTE pPrinter, DWORD Command)
|
|||
{
|
||||
// Set the pPrinter parameter to a pointer to a DWORD value that specifies the new printer status.
|
||||
PRINTER_INFO_6 pi6;
|
||||
pi6.dwStatus = (DWORD)pPrinter;
|
||||
pi6.dwStatus = (DWORD_PTR)pPrinter;
|
||||
pPrinter = (LPBYTE)&pi6;
|
||||
Level = 6;
|
||||
Command = 0;
|
||||
|
|
Loading…
Reference in a new issue