Compartilhar via


DxApi function

The DxApi function accepts commands from the hardware decoder's video capture driver to access the DxApi interface functions that are implemented in a video miniport driver.

Parameters

  • dwFunctionNum indicates the behavior of the DxApi function (function identifier). See the Remarks section for the list of function identifiers.

  • lpvInBuffer points to the input buffer.

  • cbInBuffer indicates the size in bytes of the input buffer.

  • lpvOutBuffer points to the output buffer.

  • cbOutBuffer indicates the size in bytes of the output buffer.

Returns

DxApi returns the number of bytes actually written to the output buffer.

Remarks

DxApi accepts a function identifier (dwFunctionNum), an input buffer (lpvInBuffer) and its size (cbInBuffer), and an output buffer (lpvOutBuffer) and its size (cbOutBuffer). The behavior of the function and the size and format of the input and output buffers depend on the specified function identifier. The return value is the number of actual bytes written into the output buffer.

The following function identifiers are defined for the DxApi function in the ddkmapi.h header file: