IEnhancedStorageSiloAction::GetName method (ehstorapi.h)
Returns a string for the name of the action specified by the IEnhancedStorageSiloAction object.
Syntax
HRESULT GetName(
[out] LPWSTR *ppwszActionName
);
Parameters
[out] ppwszActionName
Pointer to a string that represents the silo action by name.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The action name was retrieved successfully. |
|
The ppwszActionName parameter is NULL. |
Remarks
A name string is short, consisting of one or two words, and is suitable for display in a UI element such as a menu item or button label.
When the caller no longer requires access to the string, this buffer must be freed by passing this 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 |