Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
998a8273
Commit
998a8273
authored
Aug 23, 2004
by
Tobias Burnus
Committed by
Alexandre Julliard
Aug 23, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Limit number of FIXME()s in Clipper_SetClipList and document
function. - Document Clipper_GetClipList.
parent
20486e1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
8 deletions
+39
-8
main.c
dlls/ddraw/dclipper/main.c
+36
-5
main.h
dlls/ddraw/dclipper/main.h
+3
-3
No files found.
dlls/ddraw/dclipper/main.c
View file @
998a8273
...
...
@@ -124,22 +124,53 @@ ULONG WINAPI Main_DirectDrawClipper_Release(LPDIRECTDRAWCLIPPER iface) {
else
return
This
->
ref
;
}
/***********************************************************************
* IDirectDrawClipper::GetClipList
*
* Retrieve a copy of the clip list
*
* PARAMS
* lpRect Rectangle to be used to clip the clip list or NULL for the
* entire clip list
* lpClipList structure for the resulting copy of the clip list.
If NULL, fills lpdwSize up to the number of bytes necessary to hold
the entire clip.
* lpdwSize Size of resulting clip list; size of the buffer at lpClipList
or, if lpClipList is NULL, receives the required size of the buffer
in bytes
* RETURNS
* Either DD_OK or DDERR_*
*/
HRESULT
WINAPI
Main_DirectDrawClipper_GetClipList
(
LPDIRECTDRAWCLIPPER
iface
,
LPRECT
prcClip
,
LPRGNDATA
lprgn
,
LPDWORD
pdwSize
LPDIRECTDRAWCLIPPER
iface
,
LPRECT
lpRect
,
LPRGNDATA
lpClipList
,
LPDWORD
lpdwSize
)
{
ICOM_THIS
(
IDirectDrawClipperImpl
,
iface
);
static
int
warned
=
0
;
if
(
warned
++
<
10
)
FIXME
(
"(%p,%p,%p,%p),stub!
\n
"
,
This
,
prcClip
,
lprgn
,
pdwSize
);
if
(
pdwSize
)
*
pdwSize
=
0
;
FIXME
(
"(%p,%p,%p,%p),stub!
\n
"
,
This
,
lpRect
,
lpClipList
,
l
pdwSize
);
if
(
lpdwSize
)
*
l
pdwSize
=
0
;
return
DDERR_NOCLIPLIST
;
}
/***********************************************************************
* IDirectDrawClipper::SetClipList
*
* Sets or deletes (if lprgn is NULL) the clip list
*
* PARAMS
* lprgn Pointer to a LRGNDATA structure or NULL
* dwFlags not used, must be 0
* RETURNS
* Either DD_OK or DDERR_*
*/
HRESULT
WINAPI
Main_DirectDrawClipper_SetClipList
(
LPDIRECTDRAWCLIPPER
iface
,
LPRGNDATA
lprgn
,
DWORD
pdwSize
LPDIRECTDRAWCLIPPER
iface
,
LPRGNDATA
lprgn
,
DWORD
dwFlag
)
{
ICOM_THIS
(
IDirectDrawClipperImpl
,
iface
);
FIXME
(
"(%p,%p,%ld),stub!
\n
"
,
This
,
lprgn
,
pdwSize
);
static
int
warned
=
0
;
if
(
warned
++
<
10
||
lprgn
==
NULL
)
FIXME
(
"(%p,%p,%ld),stub!
\n
"
,
This
,
lprgn
,
dwFlag
);
return
DD_OK
;
}
...
...
dlls/ddraw/dclipper/main.h
View file @
998a8273
...
...
@@ -30,11 +30,11 @@ Main_DirectDrawClipper_SetHwnd(LPDIRECTDRAWCLIPPER iface, DWORD dwFlags,
HWND
hWnd
);
ULONG
WINAPI
Main_DirectDrawClipper_Release
(
LPDIRECTDRAWCLIPPER
iface
);
HRESULT
WINAPI
Main_DirectDrawClipper_GetClipList
(
LPDIRECTDRAWCLIPPER
iface
,
LPRECT
prcClip
,
LPRGNDATA
lp
rgn
,
LPDWORD
pdwSize
);
Main_DirectDrawClipper_GetClipList
(
LPDIRECTDRAWCLIPPER
iface
,
LPRECT
lpRect
,
LPRGNDATA
lp
ClipList
,
LPDWORD
l
pdwSize
);
HRESULT
WINAPI
Main_DirectDrawClipper_SetClipList
(
LPDIRECTDRAWCLIPPER
iface
,
LPRGNDATA
lprgn
,
DWORD
pdwSize
);
DWORD
dwFlag
);
HRESULT
WINAPI
Main_DirectDrawClipper_QueryInterface
(
LPDIRECTDRAWCLIPPER
iface
,
REFIID
riid
,
LPVOID
*
ppvObj
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment