Share via


Action (Industry 8.1)

7/8/2014

Review the use, syntax, parameters, and return values of the Action property of the IObjectInfoEx API in Windows Embedded 8.1 Industry (Industry 8.1).

This property of an instance of the IObjectInfoEx interface is a zero-indexed array of strings. The default implementation fills in actions as buttons, which are 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 property 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.

See Also

Reference

IObjectInfoEx interface

Concepts

IObjectInfoEx interface properties
Dialog Filter