IWiaDrvItem::GetNextSiblingItem method (wiamindr_lh.h)

The IWiaDrvItem::GetNextSiblingItem method gets the next sibling of the current item in an IWiaDrvItem folder.

Syntax

HRESULT GetNextSiblingItem(
  IWiaDrvItem **__MIDL__IWiaDrvItem0014
);

Parameters

__MIDL__IWiaDrvItem0014

ppISiblingItem [out, optional]

Points to a memory location that will receive the address of the IWiaDrvItem object representing the next sibling item in a folder.

Return value

If the method succeeds, it stores a pointer to the next sibling item in ppISiblingItem and returns S_OK. If there are no more items in the folder, the method returns S_FALSE. If the method fails, it returns a standard COM error code.

Remarks

Minidrivers obtain a pointer to the first child item in a folder by calling IWiaDrvItem::GetFirstChildItem. Minidrivers can then obtain the sibling items of this child item in the folder by making successive calls to IWiaDrvItem::GetNextSiblingItem.

Requirements

Requirement Value
Target Platform Desktop
Header wiamindr_lh.h (include Wiamindr.h)

See also

IWiaDrvItem

IWiaDrvItem::GetFirstChildItem

IWiaDrvItem::GetParentItem