X-Aim – Rev 3

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

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

        public const int SwShow = 5;

        public const int SwShownormal = 1;

        public const int SwShowmaximized = 3;

        public const int SwRestore = 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.