DestroyCryptoSession
Blt
TOC
Collapse the table of content
Expand the table of content

DestroyCryptoSession routine

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

Syntax


PFND3DDDI_DESTROYCRYPTOSESSION DestroyCryptoSession;

__checkReturn HRESULT APIENTRY DestroyCryptoSession(
  _In_       HANDLE                         hDevice,
  _In_ const D3DDDIARG_DESTROYCRYPTOSESSION *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

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 codeDescription
S_OK

The encryption session is successfully destroyed.

E_OUTOFMEMORY

DestroyCryptoSession could not allocate the required memory for it to complete.

 

Requirements

Target platform

Desktop

Version

DestroyCryptoSession is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

CreateCryptoSession
D3DDDIARG_DESTROYCRYPTOSESSION

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft