|Microsoft DirectX 9.0|
The GetXlcModeDDObjAndPrimarySurface method retrieves the DirectDraw object and primary surface currently being used by a VMR that has been configured for DirectDraw Exclusive Mode using the SetXlcModeDDObjAndPrimarySurface method.
HRESULT GetXlcModeDDObjAndPrimarySurface( LPDIRECTDRAW7* lpDDObj, LPDIRECTDRAWSURFACE7* lpPrimarySurf );
[out] Retrieves the Exclusive Mode DirectDraw object created by the application.
[out] Retrieves the primary surface associated with the DirectDraw object.
The method returns an HRESULT. Possible values include those in the following table.
|S_OK||The method succeeded.|
The procedure for configuring and using an application-defined DirectDraw Exclusive Mode object is described in DirectDraw Exclusive Mode.