IDirectDrawKernel::GetCaps method (ddkernel.h)

The IDirectDrawKernel::GetCaps method returns the capabilities of this kernel-mode device.

Syntax

HRESULT GetCaps(
  LPDDKERNELCAPS unnamedParam1
);

Parameters

unnamedParam1

Caller-supplied pointer to a DDKERNELCAPS structure into which the kernel-mode capabilities of the DirectDraw device are 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

   
Target Platform Desktop
Header ddkernel.h (include Ddraw.h, Ddkernel.h, Winddi.h)