IShellFolderView::GetObjectCount method (shlobj_core.h)
[GetObjectCount is no longer available for use as of Windows Vista. Instead, use ItemCount.]
Gets the number of items in the folder view.
Syntax
HRESULT GetObjectCount(
[out] UINT *puCount
);
Parameters
[out] puCount
Type: UINT*
When this method returns, contains a pointer to the number of items displayed in the folder view.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shlobj_core.h |