// avcstrm.h
void INIT_AVCSTRM_HEADER(
[in] AVCStrm,
[in] Request
);
View the official Windows Driver Kit DDI referenceNo description available.
The INIT_AVCSTRM_HEADER macro initializes the SizeOfThisBlock, Version and Function members of the AVC_STREAM_REQUEST_BLOCK structure.
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.
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;