IProcessInitializer.Startup(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.