INIT_AVCSTRM_HEADER - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// avcstrm.h

void INIT_AVCSTRM_HEADER(
  [in] AVCStrm,
  [in] Request
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-avcstrm-init_avcstrm_header)

INIT_AVCSTRM_HEADER macro

Description

The INIT_AVCSTRM_HEADER macro initializes the SizeOfThisBlock, Version and Function members of the AVC_STREAM_REQUEST_BLOCK structure.

Parameters

AVCStrm [in]

Points to a caller-allocated AVC_STREAM_REQUEST_BLOCK structure.

Request [in]

Indicates the type of the request (function code) from the AVCSTRM_FUNCTION enumeration. Each function code is documented under the IOCTL_AVCSTRM_CLASS topic.

Remarks

The macro is defined as follows:

#define INIT_AVCSTRM_HEADER( AVCStrm, Request ) \
    (AVCStrm)->;SizeOfThisBlock = sizeof(AVC_STREAM_REQUEST_BLOCK); \
    (AVCStrm)->;Function = Request;                    \
    (AVCStrm)->;Version  = CURRENT_AVCSTRM_DDI_VERSION;

See also

AVCSTRM_ABORT_STREAMING

AVCSTRM_CLOSE

AVCSTRM_GET_PROPERTY

AVCSTRM_GET_STATE

AVCSTRM_OPEN

AVCSTRM_READ

AVCSTRM_SET_PROPERTY

AVCSTRM_SET_STATE

AVCSTRM_WRITE

AVC_STREAM_REQUEST_BLOCK

IOCTL_AVCSTRM_CLASS