Export (0) Print
Expand All

IProcessInitializer.Startup Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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
);

Parameters

punkProcessControl
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).

Remarks

The object referenced by punkProcessControl implements an IProcessInitControl interface. IProcessInitControl supports the single method ResetInitializerTimeout.

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.

Requirements

Platforms: Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

IProcessInitializer Interface | IProcessInitializer Members | System.EnterpriseServices Namespace

Show:
© 2014 Microsoft