BIDI_RESPONSE_CONTAINER structure (winspool.h)
The BIDI_RESPONSE_CONTAINER structure is a container for a list of bidi responses.
Syntax
typedef struct _BIDI_RESPONSE_CONTAINER {
DWORD Version;
DWORD Flags;
DWORD Count;
BIDI_RESPONSE_DATA aData[1];
} BIDI_RESPONSE_CONTAINER, *PBIDI_RESPONSE_CONTAINER, *LPBIDI_RESPONSE_CONTAINER;
Members
Version
Specifies the version of the bidi API Schema, which is currently 1.
Flags
Is a set of flags reserved for system use. This must be zero.
Count
Specifies the number of responses in the aData member.
aData[1]
Is an array of BIDI_RESPONSE_DATA structures, each containing a single bidi response.
Remarks
Even though the aData member of this structure is an array with only a single array element, aData[0] should be thought of as the first element of an array of (possibly) an arbitrarily large size.
The spooler's RouterAllocBidiResponseContainer function allocates the memory needed for this structure, which is then used to hold an array of BIDI_RESPONSE_DATA structures. When a BIDI_RESPONSE_CONTAINER structure is no longer needed, it should be freed by a call to RouterFreeBidiResponseContainer.
Requirements
Requirement | Value |
---|---|
Minimum supported client | This structure is available in Windows XP and later operating systems. |
Header | winspool.h (include Winspool.h) |