29 public CComObjectRoot,
30 public CComCoClass<CAccAction, &CLSID_AccAction>,
45 COM_INTERFACE_ENTRY_FUNC_BLIND(0,SmartQI_)
47#pragma clang diagnostic push
48#pragma clang diagnostic ignored "-Winconsistent-missing-override"
52#pragma clang diagnostic pop
56 REFIID iid,
void** ppvObject, DWORD_PTR)
58 return static_cast<CAccAction*
>(pv)->SmartQI(iid,ppvObject);
61 HRESULT
SmartQI(REFIID iid,
void** ppvObject)
64 return OuterQueryInterface(iid,ppvObject);
73 STDMETHOD(nActions)(
long*
nActions)
override;
91 STDMETHOD(get_keyBinding)(
98 STDMETHOD(put_XSubInterface)(hyper pXSubInterface)
override;
long long BSTR __RPC_FAR *__RPC_FAR long __RPC_FAR * nBinding
CAccAction implements IAccessibleAction interface.
static HRESULT WINAPI SmartQI_(void *pv, REFIID iid, void **ppvObject, DWORD_PTR)
HRESULT SmartQI(REFIID iid, void **ppvObject)
This interface gives access to actions that can be executed for accessible objects.
BSTR localizedName([in] long actionIndex)
Returns the localized name of specified action.
BSTR description([in] long actionIndex)
Returns a description of the specified action of the object.
HRESULT nActions([out, retval] long *nActions)
Returns the number of accessible actions available in this object.
long keyBinding([in] long actionIndex,[in] long nMaxBindings,[out, size_is(, nMaxBindings), length_is(, *nBindings)] BSTR keyBindings)
Returns an array of BSTRs describing one or more key bindings, if there are any, associated with the ...
BSTR name([in] long actionIndex)
Returns the non-localized name of specified action.