template<typename DXGI_TYPE> HRESULT GetDXGIInterface(IDirect3DSurface^, DXGI_TYPE**) function
Retrieves a DXGI interface from an IDirect3DSurface instance.
Syntax
HRESULT GetDXGIInterface( IDirect3DSurface^ surface, DXGI_TYPE **dxgi );
Parameters
- surface
-
Type: IDirect3DSurface^
The IDirect3DSurface to get the DXGI interface from.
- dxgi
-
Type: DXGI_TYPE**
On return will contain the retrieved DXGI interface.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
Show: