AVCSTRM_OPEN_STRUCT structure (avcstrm.h)

The AVCSTRM_OPEN_STRUCT structure describes a data stream to be opened.

Syntax

typedef struct _AVCSTRM_OPEN_STRUCT {
  KSPIN_DATAFLOW       DataFlow;
  PAVCSTRM_FORMAT_INFO AVCFormatInfo;
  PVOID                AVCStreamContext;
  HANDLE               hPlugLocal;
} AVCSTRM_OPEN_STRUCT, *PAVCSTRM_OPEN_STRUCT;

Members

DataFlow

Specifies the direction of the data-flow.

AVCFormatInfo

Pointer to a description of the subunit stream format.

AVCStreamContext

Pointer to a stream context (handle) that is passed to subsequent avcstrm.sys operations. Its content should not be used or altered.

hPlugLocal

Specifies a local plug created by an AV/C subunit, which is used to connect to the target device.

Remarks

The AVCSTRM_OPEN function code uses this structure to describe the open operation. If the operation is successful, a stream context (handle) is returned to the caller in the AVCStrmContext member of this structure, not the AVCStrmContext member in the AVC_STREAM_REQUEST_BLOCK structure.

This value can then be used in subsequent avcstrm.sys operations by placing it in the AVCStrmContext member of the AVC_STREAM_REQUEST_BLOCK structure.

Requirements

Requirement Value
Header avcstrm.h (include Avcstrm.h)

See also

AVCSTRM_FORMAT_INFO

AVCSTRM_OPEN