Win32 API 日本語リファレンス
ホームMedia.Audio.Apo › IAudioProcessingObjectNotifications2

IAudioProcessingObjectNotifications2

COM
IIDca2cfbde-a9d6-4eb0-bc95-c4d026b380f0継承元IAudioProcessingObjectNotifications自前メソッド開始 vtbl5

メソッド 1

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 5 HRESULT GetApoNotificationRegistrationInfo2(APO_NOTIFICATION_TYPE maxApoNotificationTypeSupported, APO_NOTIFICATION_DESCRIPTOR** apoNotifications, DWORD* count)
maxApoNotificationTypeSupportedAPO_NOTIFICATION_TYPEinOSがサポートする通知種別の最大値を示すAPO_NOTIFICATION_TYPE。APOは互換範囲内で登録情報を返す。
apoNotificationsAPO_NOTIFICATION_DESCRIPTOR**outAPOが受信を希望する通知記述子配列の受け取り先。CoTaskMemFreeで解放する。
countDWORD*outapoNotificationsに返された記述子の個数を受け取るDWORDポインタ。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IAudioProcessingObjectNotifications2 "{CA2CFBDE-A9D6-4EB0-BC95-C4D026B380F0}"
#usecom global IAudioProcessingObjectNotifications2 IID_IAudioProcessingObjectNotifications2 "{}"
#comfunc global IAudioProcessingObjectNotifications2_GetApoNotificationRegistrationInfo2  5 int,var,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。