Partager via


IVPBaseConfig::SetDirectDrawKernelHandle (Compact 2013)

3/26/2014

This method sets the DirectDraw kernel handle for the decoder's minidriver to use.

Syntax

HRESULT SetDirectDrawKernelHandle(
  DWORD dwDDKernelHandle
);

Parameters

  • dwDDKernelHandle
    [in] DirectDraw kernel-level handle.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

HRESULT can include one of the following, or other values not listed.

Value

Description

E_FAIL

Failure.

E_INVALIDARG

Invalid argument.

NOERROR

The specified handle was set successfully.

Remarks

Sets the DirectDraw kernel level handle on the minidriver to enable it to communicate with DirectDraw directly.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IVPBaseConfig Interface