IDirectDrawKernel::ReleaseKernelHandle method (ddkernel.h)

The IDirectDrawKernel::ReleaseKernelHandle method releases a kernel-mode handle to the DirectDraw object.

Syntax

HRESULT ReleaseKernelHandle();

Return value

The method must return one of the following values:

Return code Description
S_OK
The operation succeeded.
E_FAIL
The operation failed.
E_NOTIMPL
The method is not implemented.

Requirements

Requirement Value
Target Platform Desktop
Header ddkernel.h (include Ddkernel.h)