IDirect3DRMDevice::InitFromClipper

Initializes a device from a specified DirectDrawClipper object.

HRESULT InitFromClipper(
LPDIRECTDRAWCLIPPER lpDDClipper,
LPGUID lpGUID,
int width,
int height
);

Parameters

lpDDClipper

Address of the DirectDrawClipper object to use as an initializer.

lpGUID

Address of the globally unique identifier (GUID) used as the interface identifier.

width and height

Width and height of the device.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.