IDiscMaster::ProgressAdvise method (imapi.h)

Registers an application for progress notifications.

Syntax

HRESULT ProgressAdvise(
  [in]  IDiscMasterProgressEvents *pEvents,
  [out] UINT_PTR                  *pvCookie
);

Parameters

[in] pEvents

Pointer to an IDiscMasterProgressEvents interface that receives the progress notifications.

[out] pvCookie

Uniquely identifies this registration. Save this value because it will be needed by the ProgressUnadvise method.

Return value

S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi.h
Library Uuid.lib
DLL Actxprxy.dll

See also

IDiscMaster