X-Aim – Rev 1

Subversion Repositories:
Rev:
using System;
using System.Runtime.InteropServices;

namespace X_Aim
{
    public static class Natives
    {
        public const int SW_HIDE = 0;

        public const int SW_SHOW = 5;

        public const int SW_SHOWNORMAL = 1;

        public const int SW_SHOWMAXIMIZED = 3;

        public const int SW_RESTORE = 9;

        [DllImport("user32.dll")]
        public static extern bool SetForegroundWindow(IntPtr hWnd);

        [DllImport("user32.dll")]
        public static extern bool AllowSetForegroundWindow(uint dwProcessId);

        [DllImport("user32.dll")]
        public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
    }
}

Generated by GNU Enscript 1.6.5.90.