RouterAllocBidiResponseContainer function (winsplp.h)

RouterAllocBidiResponseContainer allocates a BIDI_RESPONSE_CONTAINER structure containing a list of bidi responses. The bidi response list is an array of BIDI_RESPONSE_DATA structures.

Syntax

PBIDI_RESPONSE_CONTAINER RouterAllocBidiResponseContainer(
  DWORD Count
);

Parameters

Count

Specifies the number of BIDI_RESPONSE_DATA structures to be allocated.

Return value

RouterAllocBidiResponseContainer returns a pointer to the allocated structure, on success. If the function fails to allocate the structure, the caller can obtain the error code from GetLastError.

Remarks

When the memory allocated by this function is no longer needed, use RouterFreeBidiResponseContainer.

Requirements

Requirement Value
Minimum supported client This function is available in Windows XP and later operating systems.
Target Platform Desktop
Header winsplp.h (include Winsplp.h)
Library Spoolss.lib
DLL Spoolss.dll

See also

BIDI_RESPONSE_CONTAINER

BIDI_RESPONSE_DATA

RouterFreeBidiResponseContainer

SendRecvBidiDataFromPort