API Buffers
The RPC run-time allocates the buffers required to remote the ported LAN
Manager functions. This is a requirement for both efficiency and interoperability.
Using the RPC run time to allocate the API transmission buffers results in the
two significant differences between a Windows implementation and a LAN Manager 2.
x implementation:
- For a set type function (data sent to the server) the function caller
specifies a buffer containing the information structure relevant to the function level
but does not specify the buffer length.
- For a get type function (data returned from the server) the caller does not
preallocate a buffer for the return information. The caller passes a LPBYTE * to
the function on input. On successful return the buffer pointer will contain a
pointer to a buffer containing the return information. When the caller has
finished processing the returned information the NetApiBufferFree function must be called. This simplifies the calling code, because the caller
does not need to guess at the size of the buffer required and will not need to
resize and reissue the function.
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database