mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 10:53:25 +00:00
[CMD][SERVMAN][SHELL32][WINSPOOL][ROSAPPS][NTOS:PNP] Fix my build.
This commit is contained in:
parent
ec0853ba70
commit
3c722e35b1
8 changed files with 23 additions and 17 deletions
|
@ -435,9 +435,9 @@ SetJobA(HANDLE hPrinter, DWORD JobId, DWORD Level, PBYTE pJobInfo, DWORD Command
|
|||
break;
|
||||
case 1:
|
||||
{
|
||||
JOB_INFO_1A *info1A = (JOB_INFO_1A*)pJobInfo;
|
||||
JOB_INFO_1W *info1W = HeapAlloc(GetProcessHeap(), 0, sizeof(*info1W));
|
||||
ZeroMemory( info1W, sizeof(JOB_INFO_1W) );
|
||||
JOB_INFO_1A *info1A = (JOB_INFO_1A*)pJobInfo;
|
||||
|
||||
JobW = (LPBYTE)info1W;
|
||||
info1W->pUserName = AsciiToUnicode(&usBuffer, info1A->pUserName);
|
||||
|
@ -452,9 +452,9 @@ SetJobA(HANDLE hPrinter, DWORD JobId, DWORD Level, PBYTE pJobInfo, DWORD Command
|
|||
}
|
||||
case 2:
|
||||
{
|
||||
JOB_INFO_2A *info2A = (JOB_INFO_2A*)pJobInfo;
|
||||
JOB_INFO_2W *info2W = HeapAlloc(GetProcessHeap(), 0, sizeof(*info2W));
|
||||
ZeroMemory( info2W, sizeof(JOB_INFO_2W) );
|
||||
JOB_INFO_2A *info2A = (JOB_INFO_2A*)pJobInfo;
|
||||
|
||||
JobW = (LPBYTE)info2W;
|
||||
info2W->pUserName = AsciiToUnicode(&usBuffer, info2A->pUserName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue