PFND3DDDI_DESTROYCRYPTOSESSION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_DESTROYCRYPTOSESSION Pfnd3dddiDestroycryptosession;

HRESULT Pfnd3dddiDestroycryptosession(
  HANDLE hDevice,
  const D3DDDIARG_DESTROYCRYPTOSESSION *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_destroycryptosession)

PFND3DDDI_DESTROYCRYPTOSESSION callback function

Description

The DestroyCryptoSession function releases resources for the encryption session that the CreateCryptoSession function creates.

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_DESTROYCRYPTOSESSION structure that contains one member that specifies the handle to the encryption session to destroy.

Return value

DestroyCryptoSession returns one of the following values:

Return code Description
S_OK The encryption session is successfully destroyed.
E_OUTOFMEMORY DestroyCryptoSession could not allocate the required memory for it to complete.

See also

CreateCryptoSession

D3DDDIARG_DESTROYCRYPTOSESSION