IDirectDrawSurfaceKernel::ReleaseKernelHandle method (ddkernel.h)

The IDirectDrawSurfaceKernel::ReleaseKernelHandle method releases a kernel-mode handle to the DirectDraw surface.

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)