RouterAllocBidiMem - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// winsplp.h

PVOID RouterAllocBidiMem(
  [in] size_t NumBytes
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-winsplp-routerallocbidimem)

RouterAllocBidiMem function

Description

RouterAllocBidiMem allocates a block of memory of a specified size. This function is used by the port monitor to allocate memory for strings and binary objects.

Parameters

NumBytes [in]

Specifies the size, in bytes, of the block of memory to be allocated.

Return value

RouterAllocBidiMem returns a pointer to the block of memory if successful. If the function fails, the caller can obtain the error code by calling GetLastError (described in the Microsoft Windows SDK documentation).

Remarks

When the memory allocated by this function is no longer needed, it can be returned by a call to RouterFreeBidiMem.

See also

RouterFreeBidiMem

SendRecvBidiDataFromPort