IDirectDrawKernel::GetKernelHandle method (ddkernel.h)

The IDirectDrawKernel::GetKernelHandle method returns a kernel-mode handle to the DirectDraw object.

Syntax

HRESULT GetKernelHandle(
  PULONG_PTR unnamedParam1
);

Parameters

unnamedParam1

Caller-supplied pointer into which the kernel-mode handle of the DirectDraw object is returned.

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)