Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Closes a Direct3D device handle. Call this method to release a device handle retrieved by the IDirect3DDeviceManager9::OpenDeviceHandle method.
Syntax
HRESULT CloseDeviceHandle(
[in] HANDLE hDevice
);
Parameters
[in] hDevice
Handle to the Direct3D device.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
Invalid handle. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | dxva2api.h |