IUIAutomation::CreateProxyFactoryEntry-Methode (uiautomationclient.h)

Erstellt eine neue instance eines Proxy factory-Objekts.

Syntax

HRESULT CreateProxyFactoryEntry(
  [in]          IUIAutomationProxyFactory      *factory,
  [out, retval] IUIAutomationProxyFactoryEntry **factoryEntry
);

Parameter

[in] factory

Typ: IUIAutomationProxyFactory*

Ein Zeiger auf das Proxy factory-Objekt.

[out, retval] factoryEntry

Typ: IUIAutomationProxyFactoryEntry**

Empfängt einen Zeiger auf die neu erstellte instance des Proxy factory-Objekts.

Rückgabewert

Typ: HRESULT

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

Hinweise

Verwenden Sie die IUIAutomationProxyFactoryMapping-Schnittstelle , um die Proxy factory in die Tabelle der verfügbaren Proxys einzugeben.

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)

Weitere Informationen

IUIAutomation