RPC_NOTIFICATIONS列舉會指定伺服器可以從 RPC 接收的通知。
Syntax
typedef enum _RPC_NOTIFICATIONS {
RpcNotificationCallNone = 0,
RpcNotificationClientDisconnect = 1,
RpcNotificationCallCancel = 2
} RPC_NOTIFICATIONS;
常數
RpcNotificationCallNone值: 0 請勿傳送通知。 Windows Vista: 目前 ,RpcServerSubscribeForNotification 和 RpcServerUnsubscribeForNotification 不支持這個值。 |
RpcNotificationClientDisconnect值: 1 用戶端已中斷連線。 |
RpcNotificationCallCancel值: 2 RPC 呼叫已取消。 |
規格需求
| 需求 | 值 |
|---|---|
| 最低支援的用戶端 | Windows Vista、Windows XP SP2 [僅限傳統型應用程式] |
| 最低支援的伺服器 | Windows Server 2008、Windows Server 2003 SP1 [僅限傳統型應用程式] |
| 標頭 | rpcasync.h (包含 Rpc.h) |