VmmAddInBase.SetParentWindow Method (IntPtr)

 

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)

Syntax

public void SetParentWindow(
    IntPtr windowHandle
)
public:
void SetParentWindow(
    IntPtr windowHandle
)
member SetParentWindow : 
        windowHandle:nativeint -> unit
Public Sub SetParentWindow (
    windowHandle As IntPtr
)

Parameters

  • windowHandle
    Type: System.IntPtr

    Type: IntPtr

    The pointer of the Virtual Machine Manager console window.

Remarks

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.

See Also

VmmAddInBase Class
Microsoft.SystemCenter.VirtualMachineManager.UIAddIns Namespace

Return to top