ShellAPI

C# Constants:

public const int ABM_NEW        = 0x00000000;
    public const int ABM_REMOVE         = 0x00000001;
    public const int ABM_QUERYPOS       = 0x00000002;
    public const int ABM_SETPOS         = 0x00000003;
    public const int ABM_GETSTATE       = 0x00000004;
    public const int ABM_GETTASKBARPOS      = 0x00000005;
    public const int ABM_ACTIVATE       = 0x00000006; // lParam == TRUE/FALSE means activate/deactivate
    public const int ABM_GETAUTOHIDEBAR     = 0x00000007;
    public const int ABM_SETAUTOHIDEBAR     = 0x00000008; // this can fail at any time.  MUST check the result
    // lParam = TRUE/FALSE  Set/Unset
    // uEdge = what edge
    public const int ABM_WINDOWPOSCHANGED   = 0x0000009;
    public const int ABM_SETSTATE       = 0x0000000a;

    // these are put in the wparam of callback messages
    public const int ABN_STATECHANGE   = 0x0000000;
    public const int ABN_POSCHANGED    = 0x0000001;
    public const int ABN_FULLSCREENAPP = 0x0000002;
    public const int ABN_WINDOWARRANGE = 0x0000003; // lParam == TRUE means hide

    // flags for get state
    public const int ABS_AUTOHIDE    = 0x0000001;
    public const int ABS_ALWAYSONTOP = 0x0000002;

    public const int ABE_LEFT   = 0;
    public const int ABE_TOP    = 1;
    public const int ABE_RIGHT  = 2;
    public const int ABE_BOTTOM = 3;

    public const int FO_MOVE   = 0x0001;
    public const int FO_COPY   = 0x0002;
    public const int FO_DELETE = 0x0003;
    public const int FO_RENAME = 0x0004;

    public const int FOF_MULTIDESTFILES     = 0x0001;
    public const int FOF_CONFIRMMOUSE       = 0x0002;
    public const int FOF_SILENT         = 0x0004;  // don't create progress/report
    public const int FOF_RENAMEONCOLLISION      = 0x0008;
    public const int FOF_NOCONFIRMATION     = 0x0010;  // Don't prompt the user.
    public const int FOF_WANTMAPPINGHANDLE      = 0x0020;  // Fill in SHFILEOPSTRUCT.hNameMappings
        // Must be freed using SHFreeNameMappings
    public const int FOF_ALLOWUNDO          = 0x0040;
    public const int FOF_FILESONLY          = 0x0080;  // on *.*, do only files
    public const int FOF_SIMPLEPROGRESS     = 0x0100;  // means don't show names of files
    public const int FOF_NOCONFIRMMKDIR     = 0x0200;  // don't confirm making any needed dirs
    public const int FOF_NOERRORUI          = 0x0400;  // don't put up error UI
    public const int FOF_NOCOPYSECURITYATTRIBS  = 0x0800;  // dont copy NT file Security Attributes
    public const int FOF_NORECURSION        = 0x1000;  // don't recurse into directories.

        // #if (_WIN32_IE >= 0x0500)
    public const int FOF_NO_CONNECTED_ELEMENTS  = 0x2000;  // don't operate on connected elements.
    public const int FOF_WANTNUKEWARNING    = 0x4000;  // during delete operation, warn if nuking instead of recycling (partially overrides FOF_NOCONFIRMATION)
    // #endif // (_WIN32_IE >= 0x500)
    // #if (_WIN32_WINNT >= 0x0501)
    public const int FOF_NORECURSEREPARSE       = 0x8000;  // treat reparse points as objects, not containers
    // #endif // (_WIN32_WINNT >= 0x501)

    public const int PO_DELETE      = 0x0013;  // printer is being deleted
    public const int PO_RENAME      = 0x0014;  // printer is being renamed
    public const int PO_PORTCHANGE  = 0x0020;  // port this printer connected to is being changed
        // if this id is set, the strings received by
        // the copyhook are a doubly-null terminated
        // list of strings.  The first is the printer
        // name and the second is the printer port.
    public const int PO_REN_PORT    = 0x0034;  // PO_RENAME and PO_PORTCHANGE at same time.

C# Constants:

C# Constants:

C# Constants:

C# Constants:

C# Constants:

C# Constants:

VB Constants:

Última actualización