RouterAllocBidiResponseContainer

RouterAllocBidiResponseContainer function

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(
  _In_ DWORD cSize
);

Parameters

cSize [in]

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 (described in the Microsoft Windows SDK documentation).

Remarks

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

Requirements

Target platform

Desktop

Version

This function is available in Windows XP and later operating systems.

Header

Winsplp.h (include Winsplp.h)

Library

Spoolss.lib

DLL

Spoolss.dll

See also

BIDI_RESPONSE_DATA
BIDI_RESPONSE_CONTAINER
RouterFreeBidiResponseContainer
SendRecvBidiDataFromPort

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft