共用方式為


IVPBaseConfig::SetDDSurfaceKernelHandles

 
Microsoft DirectShow 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.

Requirements

Header: Include Dvp.h, Vptype.h, Vpconfig.h.

Library: None.

See Also