// d3dumddi.h
PFND3DDDI_DESTROYAUTHENTICATEDCHANNEL Pfnd3dddiDestroyauthenticatedchannel;
HRESULT Pfnd3dddiDestroyauthenticatedchannel(
HANDLE hDevice,
const D3DDDIARG_DESTROYAUTHENTICATEDCHANNEL *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DestroyAuthenticatedChannel function releases resources for the authenticated channel that the CreateAuthenticatedChannel function creates.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_DESTROYAUTHENTICATEDCHANNEL structure that contains one member that specifies the handle to the authenticated channel to destroy.
DestroyAuthenticatedChannel returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | The authenticated channel is successfully destroyed. |
| E_OUTOFMEMORY | DestroyAuthenticatedChannel could not allocate the required memory for it to complete. |
The driver's DestroyAuthenticatedChannel function should disable any protections that were set through calls to the driver's ConfigureAuthenticatedChannel function with the D3DAUTHETICATEDCONFIGURE_PROTECTION and D3DAUTHENTICATEDCONFIGURE_ENCRYPTIONWHENACCESIBLE GUIDs set. However, the driver should not disable shared surface protection (D3DAUTHETICATEDCONFIGURE_SHAREDRESOURCE).
D3DDDIARG_DESTROYAUTHENTICATEDCHANNEL