Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns an enumeration of all silos associated with the Addressable Command Target (ACT).
Syntax
HRESULT GetSilos(
[out] IEnhancedStorageSilo ***pppIEnhancedStorageSilos,
[out] ULONG *pcEnhancedStorageSilos
);
Parameters
[out] pppIEnhancedStorageSilos
Returns an array of one or more IEnhancedStorageSilo interface pointers associated with the ACT.
[out] pcEnhancedStorageSilos
Count of IEnhancedStorageSilo pointers returned. This value indicates the dimension of the array represented by pppIEnhancedStorageSilos.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Command was sent successfully and all associated silos have been enumerated. |
|
Command failed due to insufficient memory allocation. |
|
pppIEnhancedStorageSilos or pcEnhancedStorageSilos is NULL. |
Remarks
The memory containing the array of IEnhancedStorageSilo interfaces is allocated by the Enhanced Storage API and must be freed by passing the returned pointer to CoTaskMemFree.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista with SP2 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | ehstorapi.h |