9.6. Parameter Passing

During an RPC call between an RPC client and an RPC server, the network acts as a transport mechanism for all parameters to, and all results from, the RPC function in the server. The interface specification for each function in the IDL file describes how parameters and return values get passed. IDL specifications are extremely specific so that you can minimize the amount of network traffic generated by an RPC call.

Windows RPCs support the following basic types:

booleanTRUE or FALSE
byte8-bit value
char8-bit value, unsigned
double64-bit real number
float32-bit real number
long32-bit integer value, signed or unsigned
short16-bit integer value, signed or unsigned
small8-bit integer value, signed or unsigned
wchar_tWide character ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.