ISurfaceManager::get_Device method
The get_Device method retrieves the device that owns the surface.
Syntax
HRESULT get_Device(
[out] IDirect3DDevice9 **ppDevice
);
Parameters
-
ppDevice [out]
-
Pointer to a pointer to an IDirect3DDevice9 interface that manages the current surface.
Return value
The method returns an HRESULT of S_OK for success, or a standard COM error code for failure.
Requirements
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
Library |
|