DockPattern_SetDockPosition-Funktion (uiautomationcoreapi.h)

Hinweis Diese Funktion ist veraltet. Clientanwendungen sollten stattdessen die Microsoft Benutzeroberflächenautomatisierung COM-Schnittstellen (Component Object Model) verwenden.
 
Dockt das Benutzeroberflächenautomatisierung-Element an der angeforderten dockPosition in einem Andockcontainer an.

Syntax

HRESULT DockPattern_SetDockPosition(
  [in] HUIAPATTERNOBJECT hobj,
  [in] DockPosition      dockPosition
);

Parameter

[in] hobj

Typ: HUIAPATTERNOBJECT

Das Steuerelementmusterobjekt .

[in] dockPosition

Typ: DockPosition

Die Position, an der das Steuerelement angedockt werden soll.

Rückgabewert

Typ: HRESULT

Gibt S_OK zurück, wenn erfolgreich oder andernfalls ein Fehlerwert.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows XP [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2003 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile uiautomationcoreapi.h
Bibliothek Uiautomationcore.lib
DLL Uiautomationcore.dll