IEnumPublishedApps::Next method (shappmgr.h)

Gets the next IPublishedApp object in the enumeration.

Syntax

HRESULT Next(
  [out] IPublishedApp **pia
);

Parameters

[out] pia

Type: IPublishedApp**

A pointer to an IPublishedApp interface reference variable that returns the next application object. Note that the category of the application object returned must match that passed into EnumApps.

Return value

Type: HRESULT

Returns S_OK if an item is returned, S_FALSE if there are no more items to enumerate, a COM-defined error value otherwise.

Remarks

Note  IEnumPublishedApps is not a standard enumeration interface. It does not support a Skip method, nor does its Next method support retrieval of multiple items.
 

Requirements

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

See also

IAppPublisher

IEnumPublishedApps

IPublishedApp