RPC_NOTIFICATIONS enumeration (rpcasync.h)

The RPC_NOTIFICATIONS enumeration specifies the notifications a server can receive from RPC.

Syntax

typedef enum _RPC_NOTIFICATIONS {
  RpcNotificationCallNone = 0,
  RpcNotificationClientDisconnect = 1,
  RpcNotificationCallCancel = 2
} RPC_NOTIFICATIONS;

Constants

 
RpcNotificationCallNone
Value: 0
Do not send a notification.

Windows Vista:  Currently, this value is not supported for RpcServerSubscribeForNotification and RpcServerUnsubscribeForNotification.
RpcNotificationClientDisconnect
Value: 1
The client has disconnected.
RpcNotificationCallCancel
Value: 2
The RPC call has been canceled.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2008, Windows Server 2003 with SP1 [desktop apps only]
Header rpcasync.h (include Rpc.h)

See also

RpcServerSubscribeForNotification

RpcServerUnsubscribeForNotification