IShellImageData::RegisterAbort method (shimgdata.h)

Sets a callback abort object, optionally returning a pointer to the previous object.

Syntax

HRESULT RegisterAbort(
  [in]            IShellImageDataAbort *pAbort,
  [out, optional] IShellImageDataAbort **ppAbortPrev
);

Parameters

[in] pAbort

Type: IShellImageDataAbort*

A pointer to an abort object. If this parameter is NULL, an unhandled exception results.

[out, optional] ppAbortPrev

Type: IShellImageDataAbort**

The address of a pointer to the previous abort object. This parameter can be NULL if the previous object is not of interest.

Return value

Type: HRESULT

Returns S_OK if successful or an error value otherwise.

Requirements

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