IWiaItem2::GetItemCategory method

Gets an item's category information.

Syntax

HRESULT GetItemCategory(
  [out] GUID *pItemCategoryGUID
);

Parameters

pItemCategoryGUID [out]

Type: GUID*

Receives a pointer to the GUID that identifies the category of the item.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Every IWiaItem2 object in the hierarchical tree of objects associated with a Windows Image Acquisition (WIA) 2.0 hardware device has a specific category. This method enables applications to identify the category of any item in a hierarchical tree of item objects in a device.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wia.h
IDL
Wia.idl