MSDN Library
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IProcessInitializer::Startup method

Called when Dllhost.exe starts.

Syntax


HRESULT Startup(
  [in] IUnknown *punkProcessControl
);

Parameters

punkProcessControl [in]

A pointer to the IUnknown interface of the COM component starting up.

Windows XP/2000:  This parameter is always NULL.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Remarks

The IUnknown interface referenced by punkProcessControl must belong to a COM component that implements an IProcessInitControl interface; this interface supports the single method ResetInitializerTimeout. The initialization code in Startup can call the ResetInitializerTimeout method, with dwSecondsRemaining set equal to the number of seconds remaining before the startup of the component times out.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComSvcs.h

See also

IProcessInitializer

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2016 Microsoft