Microsoft DirectX 9.0

IVPBaseConfig::SetDDSurfaceKernelHandles

The SetDDSurfaceKernelHandles method specifies the kernel-mode handles of the DirectDraw surfaces to be used for the overlay suface.

Syntax

HRESULT SetDDSurfaceKernelHandle(
    DWORD cHandles,
    ULONG_PTR *rgDDKernelHandles
);

Parameters

cHandles

[in] Specifies the number of handles in the rgDDKernelHandles array.

rgDDKernelHandles

[in] Address of an array of kernel-mode handles.

Return Values

Returns an HRESULT value.

Remarks

This method sets the DirectDraw handles for the overlay surface. There may be more than one attached surface, so the array may contain more than one surface handle.

See Also