Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/createidispatchstaforwarder-function-wpf-unmanaged-api-reference.md
T
Andy (Steve) De George be103da07e Replace various WPF include files with content (#1335)
* net-current-v30plus-md.md

* net-current-v40plus-md.md

* tla2sharptla-ui-md.md

* tla2sharptla-uiautomation-md.md

* tla2sharptla-winclient-md.md

* tla2sharptla-xaml-md.md

* tlasharptla-ui-md.md

* tlasharptla-uiautomation-md.md

* tlasharptla-winclient-md.md

* tlasharptla-xaml-md.md

* fix warnings
2022-03-16 12:14:11 -04:00

1.3 KiB

title, titleSuffix, ms.date, dev_langs, api_name, api_location, ms.assetid
title titleSuffix ms.date dev_langs api_name api_location ms.assetid
CreateIDispatchSTAForwarder Function - WPF unmanaged API reference 03/30/2017
cpp
CreateIDispatchSTAForwarder
PresentationHost_v0400.dll
57a02dfa-f091-4ace-9c06-1f4ab52b3527

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