Data String Contents

Byte Definition
Standard Enhanced  
1 1 A 1-character presentation space short name (PSID)
2–4 Reserved
2 5 N or W N=NOWAIT is required W=WAIT is required
6–8 Reserved
3–4 9–10 Function request ID.
5–6 11–12 Reserved
7–10 13–16 Reserved
11–12 17–20 Reserved
13–14 21–24 Reserved
The Get Request Completion function behaves differently depending upon the second character of the parameter string, which is one of the following characters:
N
Nowait option: If a specific request ID was supplied and the function has completed, control will be returned to the application with a return code of zero and a completed data string as defined in Return Parameters. If a request ID of zero was supplied and any eligible asynchronous function has completed, control will be returned to the application with a return code of zero and a completed data string as defined in Return Parameters.
W
Wait option: If a specific request ID was supplied and the function has not completed, the call will wait until the function has completed before returning to the application. If the supplied request ID was zero and no eligible asynchronous function has completed, the call will wait until a function completes before returning to the calling application. On return, the return code value will be zero and the data string will be completed as defined in Return Parameters.