ホーム › System.Mmc › View
View
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 42
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT get_ActiveScopeNode(Node** Node) |
| 8 | HRESULT put_ActiveScopeNode(Node* Node) |
| 9 | HRESULT get_Selection(Nodes** Nodes) |
| 10 | HRESULT get_ListItems(Nodes** Nodes) |
| 11 | HRESULT SnapinScopeObject(VARIANT ScopeNode, IDispatch** ScopeNodeObject) |
| 12 | HRESULT SnapinSelectionObject(IDispatch** SelectionObject) |
| 13 | HRESULT Is(View* View, VARIANT_BOOL* TheSame) |
| 14 | HRESULT get_Document(Document** Document) |
| 15 | HRESULT SelectAll() |
| 16 | HRESULT Select(Node* Node) |
| 17 | HRESULT Deselect(Node* Node) |
| 18 | HRESULT IsSelected(Node* Node, BOOL* IsSelected) |
| 19 | HRESULT DisplayScopeNodePropertySheet(VARIANT ScopeNode) |
| 20 | HRESULT DisplaySelectionPropertySheet() |
| 21 | HRESULT CopyScopeNode(VARIANT ScopeNode) |
| 22 | HRESULT CopySelection() |
| 23 | HRESULT DeleteScopeNode(VARIANT ScopeNode) |
| 24 | HRESULT DeleteSelection() |
| 25 | HRESULT RenameScopeNode(LPWSTR NewName, VARIANT ScopeNode) |
| 26 | HRESULT RenameSelectedItem(LPWSTR NewName) |
| 27 | HRESULT get_ScopeNodeContextMenu(VARIANT ScopeNode, ContextMenu** ContextMenu) |
| 28 | HRESULT get_SelectionContextMenu(ContextMenu** ContextMenu) |
| 29 | HRESULT RefreshScopeNode(VARIANT ScopeNode) |
| 30 | HRESULT RefreshSelection() |
| 31 | HRESULT ExecuteSelectionMenuItem(LPWSTR MenuItemPath) |
| 32 | HRESULT ExecuteScopeNodeMenuItem(LPWSTR MenuItemPath, VARIANT ScopeNode) |
| 33 | HRESULT ExecuteShellCommand(LPWSTR Command, LPWSTR Directory, LPWSTR Parameters, LPWSTR WindowState) |
| 34 | HRESULT get_Frame(Frame** Frame) |
| 35 | HRESULT Close() |
| 36 | HRESULT get_ScopeTreeVisible(BOOL* Visible) |
| 37 | HRESULT put_ScopeTreeVisible(BOOL Visible) |
| 38 | HRESULT Back() |
| 39 | HRESULT Forward() |
| 40 | HRESULT put_StatusBarText(LPWSTR StatusBarText) |
| 41 | HRESULT get_Memento(LPWSTR* Memento) |
| 42 | HRESULT ViewMemento(LPWSTR Memento) |
| 43 | HRESULT get_Columns(Columns** Columns) |
| 44 | HRESULT get_CellContents(Node* Node, INT Column, LPWSTR* CellContents) |
| 45 | HRESULT ExportList(LPWSTR File, _ExportListOptions exportoptions) |
| 46 | HRESULT get_ListViewMode(_ListViewMode* Mode) |
| 47 | HRESULT put_ListViewMode(_ListViewMode mode) |
| 48 | HRESULT get_ControlObject(IDispatch** Control) |