Performs initialization at startup. Called when Dllhost.exe is started.
[Visual Basic] Sub Startup( _ <InteropServices.In()> ByVal punkProcessControl As Object _ ) [C#] void Startup( [ In ] object punkProcessControl ); [C++] void Startup( [ In ] Object* punkProcessControl ); [JScript] function Startup( punkProcessControl : Object );
- In Microsoft Windows XP, a pointer to the IUnknown interface of the COM component starting up. In Microsoft Windows 2000, this argument is always a null reference (Nothing in Visual Basic).
The initialization code in Startup can call the ResetInitializerTimeout, with the time-out set equal to the number of seconds remaining before the startup of the component times out.
Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
.NET Framework Security:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code