IDirectDrawClipper interface (ddraw.h)
Applications use the methods of the IDirectDrawClipper interface to manage clip lists. This section is a reference to the methods of this interface.
Inheritance
The IDirectDrawClipper interface inherits from the IUnknown interface. IDirectDrawClipper also has these types of members:
Methods
The IDirectDrawClipper interface has these methods.
IDirectDrawClipper::GetClipList Retrieves a copy of the clip list that is associated with a DirectDrawClipper object. To select a subset of the clip list, you can pass a rectangle that clips the clip list. |
IDirectDrawClipper::GetHWnd Retrieves the window handle that was previously associated with this DirectDrawClipper object by the IDirectDrawClipper::SetHWnd method. |
IDirectDrawClipper::Initialize Initializes a DirectDrawClipper object that was created by using the CoCreateInstance COM function. |
IDirectDrawClipper::IsClipListChanged Retrieves the status of the clip list if a window handle is associated with a DirectDrawClipper object. |
IDirectDrawClipper::SetClipList Sets or deletes the clip list that is used by the IDirectDrawSurface7::Blt, IDirectDrawSurface7::BltBatch, and IDirectDrawSurface7::UpdateOverlay methods on surfaces to which the parent DirectDrawClipper object is attached. |
IDirectDrawClipper::SetHWnd Sets the window handle that the clipper object uses to obtain clipping information. |
Remarks
The methods of the IDirectDrawClipper interface can be organized into the following groups:
Group | Methods |
---|---|
Allocating memory | Initialize |
Clip list | GetClipList, IsClipListChanged, SetClipList, and SetHWnd |
Handles | GetHWnd |
You can use the LPDIRECTDRAWCLIPPER data type to declare a variable that contains a pointer to an IDirectDrawClipper interface. The Ddraw.h header file declares this data type with the following code:
typedef struct IDirectDrawClipper FAR *LPDIRECTDRAWCLIPPER;
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | ddraw.h |