Action (Standard 7 SP1)
7/8/2014
The Action property of an instance of the IObjectInfo interface is a zero-indexed array of strings. The default implementation fills in Actions as Buttons, which is used in filtering as well as performing other actions. Buttons on the title bar, including Maximize, Minimize, and Close will be included in this list. Custom implementations can also perform other complex and custom actions besides button clicks.
Syntax
HRESULT Action(
[in] UINT Index,
[out, retval] BSTR* pVal
);
Parameters
- Index
[in] A number that identifies a button in the array.
- pVal
[out, retval] A string value that represents the button.
Return Value
This function returns the following:
Return value |
Description |
---|---|
ERROR_SUCCESS |
The operation completed successfully. |
ERROR_INVALID_PARAMETER |
If a parameter is NULL or of the wrong type. |
Remarks
Action lists are assumed to be empty until ReadWindowContents is called.
Requirements
OS Versions: Standard 7
Header:
Link Library: DialogFilterXmlFilter.tlb