Udostępnij za pośrednictwem


DesktopWindowXamlSource.Initialize(WindowId) Method

Definition

Initializes a new instance of the DesktopWindowXamlSource class.

public:
 virtual void Initialize(WindowId parentWindowId) = Initialize;
void Initialize(WindowId const& parentWindowId);
public void Initialize(WindowId parentWindowId);
function initialize(parentWindowId)
Public Sub Initialize (parentWindowId As WindowId)

Parameters

parentWindowId
WindowId

The WindowId of the HWND of your Win32 application.

Remarks

For C++ desktop application developers, use the interop::GetWindowIdFromWindow function to obtain the WindowId of the HWND of your Win32 application.

For C# desktop application developers, use the Win32Interop.GetWindowIdFromWindow(IntPtr) method to obtain the WindowId of the HWND of your Win32 application.

Applies to