Skip to content

Latest commit

 

History

History
93 lines (68 loc) · 3.49 KB

nf-interactioncontext-registeroutputcallbackinteractioncontext.md

File metadata and controls

93 lines (68 loc) · 3.49 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:interactioncontext.RegisterOutputCallbackInteractionContext
RegisterOutputCallbackInteractionContext function (interactioncontext.h)
Registers a callback to receive interaction events from an Interaction Context object.
RegisterOutputCallbackInteractionContext
RegisterOutputCallbackInteractionContext function
input_intcontext.registeroutputcallbackinteractioncontext
interactioncontext.registeroutputcallbackinteractioncontext
interactioncontext/RegisterOutputCallbackInteractionContext
input_intcontext\registeroutputcallbackinteractioncontext.htm
input_intcontext
87000250-f225-4864-96d2-1e189f5be1a3
12/05/2018
RegisterOutputCallbackInteractionContext, RegisterOutputCallbackInteractionContext function, input_intcontext.registeroutputcallbackinteractioncontext, interactioncontext.registeroutputcallbackinteractioncontext, interactioncontext/RegisterOutputCallbackInteractionContext
interactioncontext.h
Windows
Windows 8 [desktop apps only]
None supported
Ninput.lib
Ninput.dll
Windows
19H1
RegisterOutputCallbackInteractionContext
interactioncontext/RegisterOutputCallbackInteractionContext
c++
APIRef
kbSyntax
DllExport
ninput.dll
API-MS-Win-Input-IE-InteractionContext-l1-1-0.dll
IE_Shims.dll
RegisterOutputCallbackInteractionContext

RegisterOutputCallbackInteractionContext function

-description

Registers a callback to receive interaction events from an Interaction Context object.

-parameters

-param interactionContext [in]

Handle to the Interaction Context.

-param outputCallback [in]

The callback function.

-param clientData [in, optional]

A pointer to an object that contains information about the client. The value typically points to the object for which the member function is called (this).

-returns

If this function succeeds, it returns S_OK.

Otherwise, it returns an HRESULT error code.

-remarks

Each instance of an Interaction Context is limited to one output callback. Registering a callback function overwrites any existing callback registration for the Interaction Context.

This function is typically called after the creation of an Interaction Context or when the Interaction Context is reassigned to another UI element.

-see-also

INTERACTION_CONTEXT_OUTPUT

INTERACTION_CONTEXT_OUTPUT_CALLBACK

Interaction Context Functions