// winspool.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The BIDI_RESPONSE_CONTAINER structure is a container for a list of bidi responses.
VersionSpecifies the version of the bidi API Schema, which is currently 1.
FlagsIs a set of flags reserved for system use. This must be zero.
CountSpecifies the number of responses in the aData member.
aDataIs an array of BIDI_RESPONSE_DATA structures, each containing a single bidi response.
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.
RouterAllocBidiResponseContainer
RouterFreeBidiResponseContainer