| Microsoft DirectX 8.1 (C++) | 
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The GetRenderingMode method retrieves the rendering mode currently being used by the VMR.
Syntax
HRESULT GetRenderingMode(
  DWORD*  pMode
);
Parameters
pMode
[out] Pointer to a DWORD that receives a VMRMode value indicating the current rendering mode.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
| Error Code | Description | 
| E_POINTER | pMode is invalid | 
See Also