NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

AxHost.CoCreateInstance

[To be supplied.]

[Visual Basic]
extern Public Shared Function CoCreateInstance( _
   ByRef clsid As Guid, _
   ByVal punkOuter As Object, _
   ByVal context As Integer, _
   ByRef iid As Guid _
) As Object
[C#]
public static extern object CoCreateInstance(
   ref Guid clsid,
   object punkOuter,
   int context,
   ref Guid iid
);
[C++]
public: static extern Object* CoCreateInstance(
   __in Guid** clsid,
   Object* punkOuter,
   int context,
   __in Guid** iid
);
[JScript]
public static extern function CoCreateInstance(
   clsid : Guid,
   punkOuter : Object,
   context : int,
   iid : Guid
) : Object;

Parameters

clsid
[To be supplied.]
punkOuter
[To be supplied.]
context
[To be supplied.]
iid
[To be supplied.]

See Also

AxHost Class | AxHost Members | System.WinForms Namespace