mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:53:10 +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;
|
DWORD len;
|
||||||
BOOL res;
|
BOOL res;
|
||||||
|
|
||||||
|
pi3A = (PORT_INFO_3A*)pPortInfo;
|
||||||
|
|
||||||
TRACE("SetPortA(%s, %s, %lu, %p)\n", pName, pPortName, dwLevel, pPortInfo);
|
TRACE("SetPortA(%s, %s, %lu, %p)\n", pName, pPortName, dwLevel, pPortInfo);
|
||||||
|
|
||||||
if ( dwLevel != 3 )
|
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.
|
// Set the pPrinter parameter to a pointer to a DWORD value that specifies the new printer status.
|
||||||
PRINTER_INFO_6 pi6;
|
PRINTER_INFO_6 pi6;
|
||||||
pi6.dwStatus = (DWORD)pPrinter;
|
pi6.dwStatus = (DWORD_PTR)pPrinter;
|
||||||
pPrinter = (LPBYTE)&pi6;
|
pPrinter = (LPBYTE)&pi6;
|
||||||
Level = 6;
|
Level = 6;
|
||||||
Command = 0;
|
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.
|
// Set the pPrinter parameter to a pointer to a DWORD value that specifies the new printer status.
|
||||||
PRINTER_INFO_6 pi6;
|
PRINTER_INFO_6 pi6;
|
||||||
pi6.dwStatus = (DWORD)pPrinter;
|
pi6.dwStatus = (DWORD_PTR)pPrinter;
|
||||||
pPrinter = (LPBYTE)&pi6;
|
pPrinter = (LPBYTE)&pi6;
|
||||||
Level = 6;
|
Level = 6;
|
||||||
Command = 0;
|
Command = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue