enum IA2Actions {
IA2_ACTION_OPEN = -1, /**< Used to inform the server that the client will signalviaIA2_ACTION_COMPLETEwhenithasconsumed thecontentprovidedbytheobject.Thisaction allowstheobject'sservertowaitforallclients tosignaltheirreadinessforadditionalcontent. Anyformofcontentgenerationthatrequires synchronizationwithanATwouldrequireuseofthis action.Oneexampleisthegenerationoftextdescribing visualcontentnotobviousfromavideo'ssoundtrack. InthisscenariotheTexttoSpeechorBrailleoutput maytakemoretimethantherelatedlengthofsilence
in the video's sound track. */
IA2_ACTION_COMPLETE = -2, /**< Used by the client to inform the server that it has
consumed the most recent content provided by this object. */
IA2_ACTION_CLOSE = -3/**< Used to inform the server that the client no longer
requires synchronization. */
};
/** @brief This interface gives access to actions that can be executed foraccessibleobjects.
/** @brief Returns the number of accessible actions available in this object. Iftherearemorethanone,thefirstoneisconsideredthe "default"actionoftheobject. @param[out]nActions Thereturnedvalueofthenumberofactionsiszeroifthereare noactions. @retvalS_OK @noteThismethodismissinga[propget]prefixintheIDL.Theresultisthe methodisnamednActionsingeneratedC++codeinsteadofget_nActions.
*/
HRESULT nActions
(
[out,retval] long* nActions
);
/** @brief Performs the specified Action on the object. @param[in]actionIndex 0basedindexspecifyingtheactiontoperform.Ifitliesoutside thevalidrangenoactionisperformed. @retvalS_OK @retvalS_FALSEifactioncouldnotbeperformed @retvalE_INVALIDARGifbad[in]passed @noteIfimplementingsupportformedia,refertothepredefinedconstantsinthe::IA2Actionsenum.
*/
HRESULT doAction
(
[in] long actionIndex
);
/** @brief Returns a description of the specified action of the object. @param[in]actionIndex 0basedindexspecifyingwhichaction'sdescriptiontoreturn. Ifitliesoutsidethevalidrangeanemptystringisreturned. @param[out]description Thereturnedvalueisalocalizedstringofthespecifiedaction. @retvalS_OK @retvalS_FALSEifthereisnothingtoreturn,[out]valueisNULL @retvalE_INVALIDARGifbad[in]passed
*/
[propget] HRESULT description
(
[in] long actionIndex,
[out, retval] BSTR *description
);
/** @brief Returns an array of BSTRs describing one or more key bindings, if thereareany,associatedwiththespecifiedaction.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.