IDirect3DRMDevice2::InitFromClipper
Initializes an IDirect3DDevice2 device from a specified DirectDrawClipper object using IDirect3DRM2::CreateDevice.
HRESULT InitFromClipper(
LPDIRECTDRAWCLIPPER lpDDClipper,
LPGUID lpGUID,
int width,
int height
);
Parameters
lpDDClipper
Address of the DirectDrawClipper object to use as an initializer.
lpGUID the Direct3D device driver to use.
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.