IComQCEvents::OnQCQueueOpen method (comsvcs.h)

Generated when a queued components queue is opened. This method is used to generate the QueueID parameter.

Syntax

HRESULT OnQCQueueOpen(
  [in] COMSVCSEVENTINFO *pInfo,
  [in] WCHAR [60]       szQueue,
  [in] ULONG64          QueueID,
  [in] HRESULT          hr
);

Parameters

[in] pInfo

A pointer to a COMSVCSEVENTINFO structure.

[in] szQueue

The name of the queue.

[in] QueueID

The unique identifier for the queue.

[in] hr

The status from Message Queuing queue open.

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

IComQCEvents