File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
win32ss/gdi/gdi32/objects Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ FASTCALL
85
85
MirrorRgnByWidth (
86
86
_In_ HRGN hrgn ,
87
87
_In_ INT Width ,
88
- _In_ HRGN * phrgn )
88
+ _Out_opt_ HRGN * phrgn )
89
89
{
90
90
INT cRgnDSize , Ret = 0 ;
91
91
PRGNDATA pRgnData ;
@@ -118,7 +118,10 @@ MirrorRgnByWidth(
118
118
hRgnex = ExtCreateRegion (NULL , cRgnDSize , pRgnData );
119
119
if (hRgnex )
120
120
{
121
- if (phrgn ) phrgn = (HRGN * )hRgnex ;
121
+ if (phrgn )
122
+ {
123
+ * phrgn = hRgnex ;
124
+ }
122
125
else
123
126
{
124
127
CombineRgn (hrgn , hRgnex , 0 , RGN_COPY );
@@ -138,7 +141,7 @@ WINAPI
138
141
MirrorRgnDC (
139
142
_In_ HDC hdc ,
140
143
_In_ HRGN hrgn ,
141
- _In_ HRGN * phrn )
144
+ _Out_opt_ HRGN * phrn )
142
145
{
143
146
if (!GdiValidateHandle ((HGDIOBJ ) hdc ) ||
144
147
(GDI_HANDLE_GET_TYPE (hdc ) != GDI_OBJECT_TYPE_DC ))
You can’t perform that action at this time.
0 commit comments