Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/createidispatchstaforwarder-function-wpf-unmanaged-api-reference.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

1.4 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: [!INCLUDEnet_current_v30plus]

See also