IComUserEvent::OnUserEvent method (comsvcs.h)

Provided for user components to generate user-defined events.

Syntax

HRESULT OnUserEvent(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] VARIANT          *pvarEvent
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] pvarEvent

The user-defined information.

Return value

The user verifies the return values from this method.

Requirements

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

See also

IComUserEvent