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:
boolean | TRUE or FALSE |
byte | 8-bit value |
char | 8-bit value, unsigned |
double | 64-bit real number |
float | 32-bit real number |
long | 32-bit integer value, signed or unsigned |
short | 16-bit integer value, signed or unsigned |
small | 8-bit integer value, signed or unsigned |
wchar_t | Wide 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.