RpcMgmtWaitServerListen function
The RpcMgmtWaitServerListen function performs the wait operation usually associated with RpcServerListen.
Syntax
RPC_STATUS RPC_ENTRY RpcMgmtWaitServerListen(void);
Parameters
This function has no parameters.
Return value
| Value | Meaning |
|---|---|
|
All remote procedure calls are complete. |
|
Another thread has called RpcMgmtWaitServerListen and has not yet returned. |
|
The server application must call RpcServerListen before calling RpcMgmtWaitServerListen. |
Remarks
When the RpcServerListen flag parameter DontWait has a nonzero value, the RpcServerListen function returns to the server application without performing the wait operation. In this case, the wait can be performed by RpcMgmtWaitServerListen.
Applications must call RpcServerListen with a nonzero value for the DontWait parameter before calling RpcMgmtWaitServerListen. The RpcMgmtWaitServerListen function returns after the server application calls RpcMgmtStopServerListening and all active remote procedure calls complete, or after a fatal error occurs in the RPC run-time library.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also