Freigeben über


SetPropertyInteractionContext-Funktion (interactioncontext.h)

Legt Eigenschaften des Interaktionskontextobjekts fest.

Syntax

HRESULT SetPropertyInteractionContext(
  [in] HINTERACTIONCONTEXT          interactionContext,
  [in] INTERACTION_CONTEXT_PROPERTY contextProperty,
  [in] UINT32                       value
);

Parameter

[in] interactionContext

Handle für das Interaction Context-Objekt .

[in] contextProperty

Eine der Konstanten, die durch INTERACTION_CONTEXT_PROPERTY identifiziert werden.

[in] value

Der Wert der Konstanten, die durch contextProperty identifiziert wird.

Rückgabewert

Wenn diese Funktion erfolgreich ist, wird S_OK zurückgegeben.

Andernfalls wird ein HRESULT-Fehlercode zurückgegeben.

Anforderungen

   
Unterstützte Mindestversion (Client) Windows 8 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Nicht unterstützt
Zielplattform Windows
Kopfzeile interactioncontext.h
Bibliothek Ninput.lib
DLL Ninput.dll

Weitere Informationen

AddPointerInteractionContext

GetPropertyInteractionContext

HINTERACTIONCONTEXT

Interaktionskontextfunktionen