CreateIDispatchSTAForwarder Function (WPF Unmanaged API Reference)

This API supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Used by the Windows Presentation Foundation (WPF) infrastructure for thread and windows management.

Syntax

HRESULT CreateIDispatchSTAForwarder(  
   __in IDispatch *pDispatchDelegate,
   __deref_out IDispatch **ppForwarder  
)  

Parameters

Property Value/Return Value

pDispatchDelegate
A pointer to an IDispatch interface.

ppForwarder
A pointer to the address of an IDispatch interface.

Requirements

Platforms: See .NET Framework System Requirements.

DLL:

In the .NET Framework 3.0 and 3.5: PresentationHostDLL.dll

In the .NET Framework 4 and later: PresentationHost_v0400.dll

.NET Framework Version: Available since 3.0

See also