;=============================================================;
;         mountdev.inc file for Easy Code visual IDE          ;
;                        (Masm version)                       ;
;                                                             ;
;                   Driver Development Kit                    ;
;                                                             ;
;          Version 1.0.01 (created on November, 2010)         ;
;              (last modified on September, 2012)             ;
;                                                             ;
;                Do not modify this file!!                    ;
;=============================================================;

IFNDEF MOUNTDEV_INC
MOUNTDEV_INC Equ 1

Include mountmgr.inc

IOCTL_MOUNTDEV_QUERY_UNIQUE_ID              Equ     CTL_CODE(MOUNTDEVCONTROLTYPE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY      Equ     CTL_CODE(MOUNTDEVCONTROLTYPE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME    Equ     CTL_CODE(MOUNTDEVCONTROLTYPE, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_MOUNTDEV_LINK_CREATED                 Equ     CTL_CODE(MOUNTDEVCONTROLTYPE, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
IOCTL_MOUNTDEV_LINK_DELETED                 Equ     CTL_CODE(MOUNTDEVCONTROLTYPE, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)

MOUNTDEV_UNIQUE_ID Struct
    UniqueIdLength                          DW      ?
    UniqueId                                DB      1 Dup(?)
MOUNTDEV_UNIQUE_ID EndS
PMOUNTDEV_UNIQUE_ID                         TypeDef Ptr MOUNTDEV_UNIQUE_ID

MOUNTDEV_SUGGESTED_LINK_NAME Struct
    UseOnlyIfThereAreNoOtherLinks           BOOLEAN ?
    NameLength                              DW      ?
    _Name                                   DW      2 Dup(?)
MOUNTDEV_SUGGESTED_LINK_NAME EndS
PMOUNTDEV_SUGGESTED_LINK_NAME               TypeDef Ptr MOUNTDEV_SUGGESTED_LINK_NAME

IOCTL_MOUNTDEV_QUERY_STABLE_GUID            Equ     CTL_CODE(MOUNTDEVCONTROLTYPE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)

MOUNTDEV_STABLE_GUID Struct
    StableGuid                              GUID    <>
MOUNTDEV_STABLE_GUID EndS
PMOUNTDEV_STABLE_GUID                       TypeDef Ptr MOUNTDEV_STABLE_GUID

ENDIF ;MOUNTDEV_INC
