The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Sets the DXGI device, created with D3D11_CREATE_DEVICE_BGRA_SUPPORT, that will draw the surface. This method must be called from the UI thread.
Syntax
HRESULT SetDevice(
[in] IDXGIDevice *pDevice
);
Parameters
- pDevice [in]
-
Pointer to the DXGI device interface.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See also
Build date: 11/28/2012