DesktopChildSiteBridge.Create(Compositor, WindowId) Method

Definition

Creates a new DesktopChildSiteBridge as a child of the specified parent Win32 HWND.

public:
 static DesktopChildSiteBridge ^ Create(Compositor ^ compositor, WindowId parentWindowId);
 static DesktopChildSiteBridge Create(Compositor const& compositor, WindowId const& parentWindowId);
public static DesktopChildSiteBridge Create(Compositor compositor, WindowId parentWindowId);
function create(compositor, parentWindowId)
Public Shared Function Create (compositor As Compositor, parentWindowId As WindowId) As DesktopChildSiteBridge

Parameters

compositor
Compositor

The compositor used to manage the session between the DesktopChildSiteBridge and the ContentSite. This must be associated with the current thread.

parentWindowId
WindowId

The window identifier. This window must be of type WS_OVERLAPPED, WS_POPUP or WS_CHILD, which can have any number of children.

Returns

A new DesktopChildSiteBridge.

Applies to