https://git.reactos.org/?p=reactos.git;a=commitdiff;h=23ad2173f21593baac605…
commit 23ad2173f21593baac60547eba89c92bb96c9976
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Apr 29 00:24:57 2019 +0900
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Apr 28 17:24:57 2019 +0200
[WIN32SS][NTGDI] Fix wrong IN/OUT (#1539)
---
win32ss/gdi/ntgdi/coord.h | 4 ++--
win32ss/gdi/ntgdi/gdiobj.c | 2 +-
win32ss/gdi/ntgdi/gdiobj.h | 2 +-
win32ss/gdi/ntgdi/xformobj.c | 8 ++++----
win32ss/gdi/ntgdi/xformobj.h | 6 +++---
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/win32ss/gdi/ntgdi/coord.h b/win32ss/gdi/ntgdi/coord.h
index 9993ef527a..dc3228dfad 100644
--- a/win32ss/gdi/ntgdi/coord.h
+++ b/win32ss/gdi/ntgdi/coord.h
@@ -124,7 +124,7 @@ VOID
DC_vXformDeviceToWorld(
IN PDC pdc,
IN ULONG cNumPoints,
- IN PPOINTL pptlDest,
+ OUT PPOINTL pptlDest,
IN PPOINTL pptlSource)
{
XFORMOBJ xo;
@@ -140,7 +140,7 @@ VOID
DC_vXformWorldToDevice(
IN PDC pdc,
IN ULONG cNumPoints,
- IN PPOINTL pptlDest,
+ OUT PPOINTL pptlDest,
IN PPOINTL pptlSource)
{
XFORMOBJ xo;
diff --git a/win32ss/gdi/ntgdi/gdiobj.c b/win32ss/gdi/ntgdi/gdiobj.c
index 03d71ebdaf..2635aab457 100644
--- a/win32ss/gdi/ntgdi/gdiobj.c
+++ b/win32ss/gdi/ntgdi/gdiobj.c
@@ -1259,7 +1259,7 @@ NTAPI
GreGetObject(
IN HGDIOBJ hobj,
IN INT cbCount,
- IN PVOID pvBuffer)
+ OUT PVOID pvBuffer)
{
PVOID pvObj;
UCHAR objt;
diff --git a/win32ss/gdi/ntgdi/gdiobj.h b/win32ss/gdi/ntgdi/gdiobj.h
index 5a475f379d..71520e2fb0 100644
--- a/win32ss/gdi/ntgdi/gdiobj.h
+++ b/win32ss/gdi/ntgdi/gdiobj.h
@@ -111,7 +111,7 @@ NTAPI
GreGetObject(
IN HGDIOBJ hobj,
IN INT cbCount,
- IN PVOID pvBuffer);
+ OUT PVOID pvBuffer);
POBJ
NTAPI
diff --git a/win32ss/gdi/ntgdi/xformobj.c b/win32ss/gdi/ntgdi/xformobj.c
index 0d938df687..e1d2241f2c 100644
--- a/win32ss/gdi/ntgdi/xformobj.c
+++ b/win32ss/gdi/ntgdi/xformobj.c
@@ -105,7 +105,7 @@ HintFromAccel(ULONG flAccel)
ULONG
NTAPI
XFORMOBJ_UpdateAccel(
- IN XFORMOBJ *pxo)
+ IN OUT XFORMOBJ *pxo)
{
PMATRIX pmx = XFORMOBJ_pmx(pxo);
@@ -146,7 +146,7 @@ XFORMOBJ_UpdateAccel(
ULONG
NTAPI
XFORMOBJ_iSetXform(
- OUT XFORMOBJ *pxo,
+ IN OUT XFORMOBJ *pxo,
IN const XFORML *pxform)
{
PMATRIX pmx = XFORMOBJ_pmx(pxo);
@@ -189,7 +189,7 @@ XFORMOBJ_iSetXform(
ULONG
NTAPI
XFORMOBJ_iCombine(
- IN XFORMOBJ *pxo,
+ IN OUT XFORMOBJ *pxo,
IN XFORMOBJ *pxo1,
IN XFORMOBJ *pxo2)
{
@@ -222,7 +222,7 @@ XFORMOBJ_iCombine(
ULONG
NTAPI
XFORMOBJ_iCombineXform(
- IN XFORMOBJ *pxo,
+ IN OUT XFORMOBJ *pxo,
IN XFORMOBJ *pxo1,
IN XFORML *pxform,
IN BOOL bLeftMultiply)
diff --git a/win32ss/gdi/ntgdi/xformobj.h b/win32ss/gdi/ntgdi/xformobj.h
index 4adeb3d818..0c3ff2ee51 100644
--- a/win32ss/gdi/ntgdi/xformobj.h
+++ b/win32ss/gdi/ntgdi/xformobj.h
@@ -36,20 +36,20 @@ XFORMOBJ_pmx(
ULONG
NTAPI
XFORMOBJ_iSetXform(
- OUT XFORMOBJ *pxo,
+ IN OUT XFORMOBJ *pxo,
IN const XFORML *pxform);
ULONG
NTAPI
XFORMOBJ_iCombine(
- IN XFORMOBJ *pxo,
+ IN OUT XFORMOBJ *pxo,
IN XFORMOBJ *pxo1,
IN XFORMOBJ *pxo2);
ULONG
NTAPI
XFORMOBJ_iCombineXform(
- IN XFORMOBJ *pxo,
+ IN OUT XFORMOBJ *pxo,
IN XFORMOBJ *pxo1,
IN XFORML *pxform,
IN BOOL bLeftMultiply);