Skip to content

Commit 9609dc0

Browse files
zefkloptkreuzer
authored andcommitted
[WIN32K] Fix NtGdiModifyWorldTransform prototype
1 parent 047479e commit 9609dc0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

sdk/include/psdk/ntgdi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2257,7 +2257,7 @@ BOOL
22572257
APIENTRY
22582258
NtGdiModifyWorldTransform(
22592259
_In_ HDC hdc,
2260-
_In_opt_ LPXFORM pxf,
2260+
_In_opt_ const XFORM* pxf,
22612261
_In_ DWORD iXform);
22622262

22632263
__kernel_entry

win32ss/gdi/gdi32/objects/coord.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ ModifyWorldTransform(
340340
return FALSE;
341341

342342
/* Call win32k to do the work */
343-
return NtGdiModifyWorldTransform(hdc, (LPXFORM)pxform, dwMode);
343+
return NtGdiModifyWorldTransform(hdc, pxform, dwMode);
344344
}
345345

346346
BOOL

win32ss/gdi/ntgdi/coord.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ BOOL
500500
APIENTRY
501501
NtGdiModifyWorldTransform(
502502
HDC hdc,
503-
LPXFORM pxformUnsafe,
503+
const XFORM* pxformUnsafe,
504504
DWORD dwMode)
505505
{
506506
PDC pdc;

0 commit comments

Comments
 (0)