Win32 API 日本語リファレンス
ホームSystem.Rpc › RPC_NOTIFICATIONS

RPC_NOTIFICATIONS

列挙型
基底型i4

メンバー 3

名前10進16進説明
RpcNotificationCallNone00x0

通知を送信しません。

Windows Vista: 現在、この値は RpcServerSubscribeForNotification および RpcServerUnsubscribeForNotification ではサポートされていません。

RpcNotificationClientDisconnect10x1クライアントが切断されました。
RpcNotificationCallCancel20x2RPC 呼び出しがキャンセルされました。

公式ドキュメント

RPC_NOTIFICATIONS 列挙型は、サーバーが RPC から受け取ることのできる通知を指定します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum RPC_NOTIFICATIONS : int {
    RpcNotificationCallNone = 0,
    RpcNotificationClientDisconnect = 1,
    RpcNotificationCallCancel = 2
} RPC_NOTIFICATIONS;
public enum RPC_NOTIFICATIONS : int
{
    RpcNotificationCallNone = 0,
    RpcNotificationClientDisconnect = 1,
    RpcNotificationCallCancel = 2,
}
Public Enum RPC_NOTIFICATIONS As Integer
    RpcNotificationCallNone = 0
    RpcNotificationClientDisconnect = 1
    RpcNotificationCallCancel = 2
End Enum
import enum

class RPC_NOTIFICATIONS(enum.IntEnum):
    RpcNotificationCallNone = 0
    RpcNotificationClientDisconnect = 1
    RpcNotificationCallCancel = 2
// RPC_NOTIFICATIONS
pub const RpcNotificationCallNone: i32 = 0;
pub const RpcNotificationClientDisconnect: i32 = 1;
pub const RpcNotificationCallCancel: i32 = 2;
// RPC_NOTIFICATIONS
const (
	RpcNotificationCallNone int32 = 0
	RpcNotificationClientDisconnect int32 = 1
	RpcNotificationCallCancel int32 = 2
)
const
  RpcNotificationCallNone = 0;
  RpcNotificationClientDisconnect = 1;
  RpcNotificationCallCancel = 2;
// RPC_NOTIFICATIONS
pub const RpcNotificationCallNone: i32 = 0;
pub const RpcNotificationClientDisconnect: i32 = 1;
pub const RpcNotificationCallCancel: i32 = 2;
const
  RpcNotificationCallNone* = 0
  RpcNotificationClientDisconnect* = 1
  RpcNotificationCallCancel* = 2
enum RPC_NOTIFICATIONS : int {
    RpcNotificationCallNone = 0,
    RpcNotificationClientDisconnect = 1,
    RpcNotificationCallCancel = 2,
}
#define global RpcNotificationCallNone         0x0
#define global RpcNotificationClientDisconnect 0x1
#define global RpcNotificationCallCancel       0x2