IActiveDesktop::GetDesktopItemCountIActiveDesktop::GetDesktopItemCount*
*Contents  *Index  *Topic Contents
*Previous Topic: IActiveDesktop::GetDesktopItemBySource
*Next Topic: IActiveDesktop::GetDesktopItemOptions

IActiveDesktop::GetDesktopItemCount

HRESULT GetDesktopItemCount(
    LPINT lpiCount,
    DWORD dwReserved
);

Retrieves a count of the desktop items.

lpiCount
Address of an integer value that contains the count.
dwReserved
Reserved. Must be set to zero.

The lpiCount value can be used to enumerate all desktop items. The index values start at zero and go to lpiCount minus one.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.