IAgentCommands::GetCount
[Microsoft エージェントは Windows 7 の時点で非推奨となり、以降のバージョンの Windows では使用できない場合があります。]
HRESULT GetCount(
long * pdwCount // address of count of commands
);
Commands コレクション内の Command オブジェクトの数を取得します。
- 操作が成功したことを示すS_OKを返します。
pdwCount には、Commands コレクションで定義したコマンドの数のみが含まれます。 サーバーまたはその他のクライアント エントリは含まれません。