Class WinioctlUtil


  • public abstract class WinioctlUtil
    extends Object
    Winioctl Utility API. Use WinioctlFunction to construct the full control codes for the FSCTL_* functions defined in Winioctl.h
    Author:
    amarcionek[at]gmail.com
    • Field Detail

      • FSCTL_GET_COMPRESSION

        public static final int FSCTL_GET_COMPRESSION
      • FSCTL_SET_COMPRESSION

        public static final int FSCTL_SET_COMPRESSION
      • FSCTL_SET_REPARSE_POINT

        public static final int FSCTL_SET_REPARSE_POINT
      • FSCTL_GET_REPARSE_POINT

        public static final int FSCTL_GET_REPARSE_POINT
      • FSCTL_DELETE_REPARSE_POINT

        public static final int FSCTL_DELETE_REPARSE_POINT
    • Constructor Detail

      • WinioctlUtil

        public WinioctlUtil()
    • Method Detail

      • CTL_CODE

        public static int CTL_CODE​(int DeviceType,
                                   int Function,
                                   int Method,
                                   int Access)
        Simulates the macro CTL_CODE from Winioctl.h
        Parameters:
        DeviceType - the device type
        Function - the function
        Method - the method
        Access - the access
        Returns:
        int with the resulting control code