IUIAutomationProxyFactoryMapping::InsertEntry-Methode (uiautomationclient.h)

Fügen Sie einen Eintrag in die Tabelle der Proxyfactorys ein.

Syntax

HRESULT InsertEntry(
  [in] UINT                           before,
  [in] IUIAutomationProxyFactoryEntry *factory
);

Parameter

[in] before

Typ: UINT

Der nullbasierte Index, an dem der Eintrag eingefügt werden soll.

[in] factory

Typ: IUIAutomationProxyFactoryEntry*

Die Adresse des einzufügenden Eintrags.

Rückgabewert

Typ: HRESULT

Wenn diese Methode erfolgreich ist, wird S_OK zurückgegeben. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 7, Windows Vista mit SP2 und Plattformupdate für Windows Vista, Windows XP mit SP3 und Plattformupdate für Windows Vista [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 R2, Windows Server 2008 mit SP2 und Plattformupdate für Windows Server 2008, Windows Server 2003 mit SP2 und Plattformupdate für Windows Server 2008 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile uiautomationclient.h (include UIAutomation.h)