RPC_NOTIFICATIONS 枚举 (rpcasync.h)

RPC_NOTIFICATIONS枚举指定服务器可以从 RPC 接收的通知。

语法

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

常量

 
RpcNotificationCallNone
值: 0
不要发送通知。

Windows Vista: 目前, RpcServerSubscribeForNotificationRpcServerUnsubscribeForNotification 不支持此值。
RpcNotificationClientDisconnect
值:1
客户端已断开连接。
RpcNotificationCallCancel
值: 2
RPC 调用已取消。

要求

要求
最低受支持的客户端 Windows Vista、Windows XP 和 SP2 [仅限桌面应用]
最低受支持的服务器 Windows Server 2008、Windows Server 2003 SP1 [仅限桌面应用]
标头 rpcasync.h (包括 Rpc.h)

另请参阅

RpcServerSubscribeForNotification

RpcServerUnsubscribeForNotification