Package com.sun.jna.platform.win32
Class WinioctlUtil
java.lang.Object
com.sun.jna.platform.win32.WinioctlUtil
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
CTL_CODE
(int DeviceType, int Function, int Method, int Access) Simulates the macro CTL_CODE from Winioctl.h
-
Field Details
-
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 Details
-
WinioctlUtil
public WinioctlUtil()
-
-
Method Details
-
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 typeFunction
- the functionMethod
- the methodAccess
- the access- Returns:
- int with the resulting control code
-