ホーム › System.Com.Events › IEventPublisher
IEventPublisher
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 14
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_PublisherID(LPWSTR* pbstrPublisherID) |
| 8 | HRESULT put_PublisherID(LPWSTR bstrPublisherID) |
| 9 | HRESULT get_PublisherName(LPWSTR* pbstrPublisherName) |
| 10 | HRESULT put_PublisherName(LPWSTR bstrPublisherName) |
| 11 | HRESULT get_PublisherType(LPWSTR* pbstrPublisherType) |
| 12 | HRESULT put_PublisherType(LPWSTR bstrPublisherType) |
| 13 | HRESULT get_OwnerSID(LPWSTR* pbstrOwnerSID) |
| 14 | HRESULT put_OwnerSID(LPWSTR bstrOwnerSID) |
| 15 | HRESULT get_Description(LPWSTR* pbstrDescription) |
| 16 | HRESULT put_Description(LPWSTR bstrDescription) |
| 17 | HRESULT GetDefaultProperty(LPWSTR bstrPropertyName, VARIANT* propertyValue) |
| 18 | HRESULT PutDefaultProperty(LPWSTR bstrPropertyName, VARIANT* propertyValue) |
| 19 | HRESULT RemoveDefaultProperty(LPWSTR bstrPropertyName) |
| 20 | HRESULT GetDefaultPropertyCollection(IEventObjectCollection** collection) |