VmmAddInBase::SetParentWindow Method (IntPtr)

System Center
 

Updated: June 20, 2017

Applies To: System Center 2016 - Virtual Machine Manager

For internal use only. Called by the add-in framework to keep reference to the Virtual Machine Manager console window.

Namespace:   Microsoft.SystemCenter.VirtualMachineManager.UIAddIns
Assembly:  Microsoft.SystemCenter.VirtualMachineManager.UIAddIns (in Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll)

public:
void SetParentWindow(
	IntPtr windowHandle
)

Parameters

windowHandle
Type: System::IntPtr

Type: IntPtr

The pointer of the Virtual Machine Manager console window.

This method is called by the add-in framework and stores an internal pointer to the vmm12sp1_med console window. When you call SetAdminConsoleWindowAsParentOf to establish a parent-child relationship with the console window and your own window, the pointer stored from this internal method call is used.

Notes to Callers:

This method should only be called by the add-in framework.

Return to top
Show: