IComApp2Events::OnAppActivation2 method (comsvcs.h)

Generated when the server application process is loaded.

Syntax

HRESULT OnAppActivation2(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] GUID             guidApp,
  [in] GUID             guidProcess
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] guidApp

The GUID of the application.

[in] guidProcess

The process ID.

Return value

The user verifies the return values from this method.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IComApp2Events