Redigeeri

Jagamisviis:


IProcessInitializer.Startup(Object) Method

Definition

Performs initialization at startup. Called when Dllhost.exe is started.

public:
 void Startup(System::Object ^ punkProcessControl);
public void Startup (object punkProcessControl);
abstract member Startup : obj -> unit
Public Sub Startup (punkProcessControl As Object)

Parameters

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 null.

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.

Applies to