AspNetManagementUtility.GetActiveWindow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the window handle to the active window that is attached to the message queue of the calling thread.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static IntPtr GetActiveWindow();
public static IntPtr GetActiveWindow ();
static member GetActiveWindow : unit -> nativeint
Public Shared Function GetActiveWindow () As IntPtr
Returns
nativeint
The handle to the active window attached to the message queue of the calling thread; otherwise, null (Nothing in Visual Basic).
Remarks
For more information about programming with the AspNetManagementUtility class and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.