Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Interfaces, prefix the name with the module name and a period.
[
ComImport,
Guid("00000323-0000-0000-C000-000000000046")
]
class StdGlobalInterfaceTable /* : IGlobalInterfaceTable */
{
static public IGlobalInterfaceTable GetRunningObjectTable()
{
return (IGlobalInterfaceTable) new StdGlobalInterfaceTable();
}
}
VB Definition:
<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IGlobalInterfaceTable
TODO
End Interface
This are equivalent, but create different self-documenting code. The static function is a neat trick that encapsulates some functionality into the COM class wrapper.
Access the Global Running Object Table.
3/16/2007 7:48:49 AM - e.semog+pinvoke at gmail.com-207.141.0.26
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.