Package com.sun.jna.platform.win32
Interface WinBase
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static classWinBase.COMMTIMEOUTSContains the time-out parameters for a communications device.static interfaceWinBase.COMPUTER_NAME_FORMATSpecifies a type of computer name to be retrieved by the GetComputerNameEx functionstatic classWinBase.DCBDefines the control setting for a serial communications device.static interfaceWinBase.EnumResNameProcAn application-defined callback function used with the EnumResourceNames and EnumResourceNamesEx functions.static interfaceWinBase.EnumResTypeProcAn application-defined callback function used with the EnumResourceTypes and EnumResourceTypesEx functions.static interfaceWinBase.FE_EXPORT_FUNCAn application-defined callback function used with ReadEncryptedFileRaw.static interfaceWinBase.FE_IMPORT_FUNCAn application-defined callback function used with WriteEncryptedFileRaw.static classWinBase.FILE_ATTRIBUTE_TAG_INFOReceives the requested file attribute information.static classWinBase.FILE_BASIC_INFOContains the basic information for a file.static classWinBase.FILE_COMPRESSION_INFOReceives extended information for the file.static classWinBase.FILE_DISPOSITION_INFOIndicates whether a file should be deleted.static classWinBase.FILE_ID_INFOContains identification information for a file.static classWinBase.FILE_STANDARD_INFOReceives extended information for the file.static classWinBase.FILETIMEThe FILETIME structure is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).static classWinBase.FOREIGN_THREAD_START_ROUTINERepresents a thread entry point in another process.static classWinBase.MEMORYSTATUSEXContains information about the current state of both physical and virtual memory, including extended memory.static classWinBase.OVERLAPPEDThe OVERLAPPED structure contains information used in asynchronous (or overlapped) input and output (I/O).static classWinBase.PROCESS_INFORMATIONContains information about a newly created process and its primary thread.static classWinBase.SECURITY_ATTRIBUTESThe SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable.static classWinBase.STARTUPINFOSpecifies the window station, desktop, standard handles, and appearance of the main window for a process at creation time.static classWinBase.SYSTEM_INFOContains information about the current computer system.static classWinBase.SYSTEMTIMESpecifies a date and time, using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.static interfaceWinBase.THREAD_START_ROUTINERepresents a thread entry point local to this process, as a Callback.static classWinBase.TIME_ZONE_INFORMATIONSpecifies settings for a time zone.static classWinBase.WIN32_FIND_DATAContains information about the file that is found by the FindFirstFile, FindFirstFileEx, or FindNextFile function.- 
Nested classes/interfaces inherited from interface com.sun.jna.platform.win32.BaseTSDBaseTSD.DWORD_PTR, BaseTSD.LONG_PTR, BaseTSD.SIZE_T, BaseTSD.SSIZE_T, BaseTSD.ULONG_PTR, BaseTSD.ULONG_PTRByReference
 - 
Nested classes/interfaces inherited from interface com.sun.jna.platform.win32.WinDefWinDef.ATOM, WinDef.BOOL, WinDef.BOOLByReference, WinDef.BYTE, WinDef.CHAR, WinDef.CHARByReference, WinDef.DWORD, WinDef.DWORDByReference, WinDef.DWORDLONG, WinDef.HBITMAP, WinDef.HBRUSH, WinDef.HCURSOR, WinDef.HDC, WinDef.HFONT, WinDef.HGLRC, WinDef.HGLRCByReference, WinDef.HICON, WinDef.HINSTANCE, WinDef.HKL, WinDef.HMENU, WinDef.HMODULE, WinDef.HPALETTE, WinDef.HPEN, WinDef.HRGN, WinDef.HRSRC, WinDef.HWND, WinDef.INT_PTR, WinDef.LCID, WinDef.LONG, WinDef.LONGByReference, WinDef.LONGLONG, WinDef.LONGLONGByReference, WinDef.LPARAM, WinDef.LPVOID, WinDef.LRESULT, WinDef.POINT, WinDef.PVOID, WinDef.RECT, WinDef.SCODE, WinDef.SCODEByReference, WinDef.SHORT, WinDef.UCHAR, WinDef.UINT, WinDef.UINT_PTR, WinDef.UINTByReference, WinDef.ULONG, WinDef.ULONGByReference, WinDef.ULONGLONG, WinDef.ULONGLONGByReference, WinDef.USHORT, WinDef.USHORTByReference, WinDef.WORD, WinDef.WORDByReference, WinDef.WPARAM
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intCBR_110110 bps.static intCBR_12001200 bps.static intCBR_128000128000 bps.static intCBR_1440014400 bps.static intCBR_1920019200 bps.static intCBR_24002400 bps.static intCBR_256000256000 bps.static intCBR_300300 bps.static intCBR_3840038400 bps.static intCBR_48004800 bps.static intCBR_5600056000 bps.static intCBR_600600 bps.static intCBR_96009600 bps.static intCREATE_BREAKAWAY_FROM_JOBstatic intCREATE_DEFAULT_ERROR_MODEstatic intCREATE_FOR_DIRstatic intCREATE_FOR_IMPORTstatic intCREATE_FORCEDOSstatic intCREATE_NEW_CONSOLEstatic intCREATE_NEW_PROCESS_GROUPstatic intCREATE_NO_WINDOWstatic intCREATE_PRESERVE_CODE_AUTHZ_LEVELstatic intCREATE_PROTECTED_PROCESSstatic intCREATE_SEPARATE_WOW_VDMstatic intCREATE_SHARED_WOW_VDMstatic intCREATE_SUSPENDEDstatic intCREATE_UNICODE_ENVIRONMENTstatic intDEBUG_ONLY_THIS_PROCESSstatic intDEBUG_PROCESSstatic intDETACHED_PROCESSstatic intDRIVE_CDROMThe drive is a CD-ROM drive.static intDRIVE_FIXEDThe drive is a type that cannot be removed, for example, a fixed hard drive.static intDRIVE_NO_ROOT_DIRThe root path is invalid, for example, no volume is mounted at the path.static intDRIVE_RAMDISKThe drive is a RAM disk.static intDRIVE_REMOTEThe drive is a remote (network) drive.static intDRIVE_REMOVABLEThe drive is a type that has removable media, for example, a floppy drive or removable hard disk.static intDRIVE_UNKNOWNThe drive type cannot be determined.static intDTR_CONTROL_DISABLEDisables the DTR line when the device is opened and leaves it disabled.static intDTR_CONTROL_ENABLEEnables the DTR line when the device is opened and leaves it on.static intDTR_CONTROL_HANDSHAKEEnables DTR handshaking.
 If handshaking is enabled, it is an error for the application to adjust the line by using the EscapeCommFunction function.static intES_AWAYMODE_REQUIREDEnables away mode.static intES_CONTINUOUSInforms the system that the state being set should remain in effect until the next call that uses ES_CONTINUOUS and one of the other state flags is cleared.static intES_DISPLAY_REQUIREDForces the display to be on by resetting the display idle timer.static intES_SYSTEM_REQUIREDForces the system to be in the working state by resetting the system idle timer.static intES_USER_PRESENTThis value is not supported.static intEVENPARITYEven parity.static intEXTENDED_STARTUPINFO_PRESENTstatic intFILE_DIR_DISALOWEDstatic intFILE_ENCRYPTABLEstatic intFILE_IS_ENCRYPTEDstatic intFILE_MAP_ALL_ACCESSstatic intFILE_MAP_COPYstatic intFILE_MAP_EXECUTEstatic intFILE_MAP_READstatic intFILE_MAP_WRITEstatic intFILE_READ_ONLYstatic intFILE_ROOT_DIRstatic intFILE_SYSTEM_ATTRstatic intFILE_SYSTEM_DIRstatic intFILE_SYSTEM_NOT_SUPPORTstatic intFILE_UNKNOWNstatic intFILE_USER_DISALLOWEDstatic intFileAlignmentInfostatic intFileAllocationInfostatic intFileAttributeTagInfostatic intFileBasicInfostatic intFileCompressionInfostatic intFileDispositionInfostatic intFileEndOfFileInfostatic intFileFullDirectoryInfostatic intFileFullDirectoryRestartInfostatic intFileIdBothDirectoryInfostatic intFileIdBothDirectoryRestartInfostatic intFileIdExtdDirectoryInfostatic intFileIdExtdDirectoryRestartInfostatic intFileIdInfostatic intFileIoPriorityHintInfostatic intFileNameInfostatic intFileRemoteProtocolInfostatic intFileRenameInfostatic intFileStandardInfostatic intFileStorageInfostatic intFileStreamInfostatic intFindExInfoBasicThe FindFirstFileEx function does not query the short file name, improving overall enumeration speed.static intFindExInfoMaxInfoLevelThis value is used for validation.static intFindExInfoStandardThe FindFirstFileEx function retrieves a standard set of attribute information.static intFindExSearchLimitToDevicesThis filtering type is not available.static intFindExSearchLimitToDirectoriesThis is an advisory flag.static intFindExSearchNameMatchThe search for a file that matches a specified file name.static intFORMAT_MESSAGE_ALLOCATE_BUFFERThe lpBuffer parameter is a pointer to a PVOID pointer, and that the nSize parameter specifies the minimum number of TCHARs to allocate for an output message buffer.static intFORMAT_MESSAGE_ARGUMENT_ARRAYThe Arguments parameter is not a va_list structure, but is a pointer to an array of values that represent the arguments.static intFORMAT_MESSAGE_FROM_HMODULEThe lpSource parameter is a module handle containing the message-table resource(s) to search.static intFORMAT_MESSAGE_FROM_STRINGThe lpSource parameter is a pointer to a null-terminated message definition.static intFORMAT_MESSAGE_FROM_SYSTEMThe function should search the system message-table resource(s) for the requested message.static intFORMAT_MESSAGE_IGNORE_INSERTSInsert sequences in the message definition are to be ignored and passed through to the output buffer unchanged.static intHANDLE_FLAG_INHERITIf this flag is set, a child process created with the bInheritHandles parameter of CreateProcess set to TRUE will inherit the object handle.static intHANDLE_FLAG_PROTECT_FROM_CLOSEIf this flag is set, calling theKernel32.CloseHandle(com.sun.jna.platform.win32.WinNT.HANDLE)function will not close the object handle.static intINFINITEstatic intINHERIT_PARENT_AFFINITYstatic intINVALID_FILE_ATTRIBUTESstatic intINVALID_FILE_SIZEstatic WinNT.HANDLEINVALID_HANDLE_VALUEConstant value representing an invalid HANDLE.static intINVALID_SET_FILE_POINTERstatic intLHNDstatic intLMEM_DISCARDABLEstatic intLMEM_DISCARDEDstatic intLMEM_FIXEDstatic intLMEM_INVALID_HANDLEstatic intLMEM_LOCKCOUNTstatic intLMEM_MODIFYstatic intLMEM_MOVEABLEstatic intLMEM_NOCOMPACTstatic intLMEM_NODISCARDstatic intLMEM_VALID_FLAGSstatic intLMEM_ZEROINITstatic intLOGON32_LOGON_BATCHThis logon type is intended for batch servers, where processes may be executing on behalf of a user without their direct intervention.static intLOGON32_LOGON_INTERACTIVEThis logon type is intended for users who will be interactively using the computer, such as a user being logged on by a terminal server, remote shell, or similar process.static intLOGON32_LOGON_NETWORKThis logon type is intended for high performance servers to authenticate plaintext passwords.static intLOGON32_LOGON_NETWORK_CLEARTEXTThis logon type preserves the name and password in the authentication package, which allows the server to make connections to other network servers while impersonating the client.static intLOGON32_LOGON_NEW_CREDENTIALSThis logon type allows the caller to clone its current token and specify new credentials for outbound connections.static intLOGON32_LOGON_SERVICEIndicates a service-type logon.static intLOGON32_LOGON_UNLOCKThis logon type is for GINA DLLs that log on users who will be interactively using the computer.static intLOGON32_PROVIDER_DEFAULTUse the standard logon provider for the system.static intLOGON32_PROVIDER_WINNT35Use the Windows NT 3.5 logon provider.static intLOGON32_PROVIDER_WINNT40Use the NTLM logon provider.static intLOGON32_PROVIDER_WINNT50Use the negotiate logon provider.static intLPTRstatic intMARKPARITYMark parity.static intMAX_COMPUTERNAME_LENGTHMaximum computer name length.static intMOVEFILE_COPY_ALLOWEDIf the file is to be moved to a different volume, the function simulates the move by using the CopyFile and DeleteFile functions.static intMOVEFILE_CREATE_HARDLINKReserved for future use.static intMOVEFILE_DELAY_UNTIL_REBOOTThe system does not move the file until the operating system is restarted.static intMOVEFILE_FAIL_IF_NOT_TRACKABLEThe function fails if the source file is a link source, but the file cannot be tracked after the move.static intMOVEFILE_REPLACE_EXISTINGIf a file named lpNewFileName exists, the function replaces its contents with the contents of the lpExistingFileName file, provided that security requirements regarding access control lists (ACLs) are met.static intMOVEFILE_WRITE_THROUGHThe function does not return until the file is actually moved on the disk.static intMUTEX_ALL_ACCESSstatic intMUTEX_MODIFY_STATEstatic intNMPWAIT_NOWAITstatic intNMPWAIT_USE_DEFAULT_WAITstatic intNMPWAIT_WAIT_FOREVERstatic intNOPARITYNo parity.static intODDPARITYOdd parity.static intONE5STOPBITS1.5 stop bits.static intONESTOPBIT1 stop bit.static intOVERWRITE_HIDDENstatic intPIPE_ACCEPT_REMOTE_CLIENTSstatic intPIPE_ACCESS_DUPLEXstatic intPIPE_ACCESS_INBOUNDstatic intPIPE_ACCESS_OUTBOUNDstatic intPIPE_CLIENT_ENDstatic intPIPE_NOWAITstatic intPIPE_READMODE_BYTEstatic intPIPE_READMODE_MESSAGEstatic intPIPE_REJECT_REMOTE_CLIENTSstatic intPIPE_SERVER_ENDstatic intPIPE_TYPE_BYTEstatic intPIPE_TYPE_MESSAGEstatic intPIPE_UNLIMITED_INSTANCESstatic intPIPE_WAITstatic intRTS_CONTROL_DISABLEDisables the RTS line when the device is opened and leaves it disabled.static intRTS_CONTROL_ENABLEEnables the RTS line when the device is opened and leaves it on.static intRTS_CONTROL_HANDSHAKEEnables RTS handshaking.
 The driver raises the RTS line when the "type-ahead" (input) buffer is less than one-half full and lowers the RTS line when the buffer is more than three-quarters full.
 If handshaking is enabled, it is an error for the application to adjust the line by using the EscapeCommFunction function.static intRTS_CONTROL_TOGGLESpecifies that the RTS line will be high if bytes are available for transmission.
 After all buffered bytes have been sent, the RTS line will be low.static intSPACEPARITYSpace parity.static intSTARTF_FORCEOFFFEEDBACKstatic intSTARTF_FORCEONFEEDBACKstatic intSTARTF_RUNFULLSCREENstatic intSTARTF_USECOUNTCHARSstatic intSTARTF_USEFILLATTRIBUTEstatic intSTARTF_USEPOSITIONstatic intSTARTF_USESHOWWINDOWstatic intSTARTF_USESIZEstatic intSTARTF_USESTDHANDLESstatic intSTILL_ACTIVEReturn code for a process still active.static intTWOSTOPBITS2 stop bits.static intWAIT_ABANDONEDstatic intWAIT_ABANDONED_0static intWAIT_FAILEDstatic intWAIT_OBJECT_0
 
- 
- 
- 
Field Detail- 
INVALID_HANDLE_VALUEstatic final WinNT.HANDLE INVALID_HANDLE_VALUE Constant value representing an invalid HANDLE.
 - 
WAIT_FAILEDstatic final int WAIT_FAILED - See Also:
- Constant Field Values
 
 - 
WAIT_OBJECT_0static final int WAIT_OBJECT_0 - See Also:
- Constant Field Values
 
 - 
WAIT_ABANDONEDstatic final int WAIT_ABANDONED - See Also:
- Constant Field Values
 
 - 
WAIT_ABANDONED_0static final int WAIT_ABANDONED_0 - See Also:
- Constant Field Values
 
 - 
MAX_COMPUTERNAME_LENGTHstatic final int MAX_COMPUTERNAME_LENGTH Maximum computer name length. The value is 15 on Mac, 31 on everything else.
 - 
LOGON32_LOGON_INTERACTIVEstatic final int LOGON32_LOGON_INTERACTIVE This logon type is intended for users who will be interactively using the computer, such as a user being logged on by a terminal server, remote shell, or similar process. This logon type has the additional expense of caching logon information for disconnected operations; therefore, it is inappropriate for some client/server applications, such as a mail server.- See Also:
- Constant Field Values
 
 - 
LOGON32_LOGON_NETWORKstatic final int LOGON32_LOGON_NETWORK This logon type is intended for high performance servers to authenticate plaintext passwords. The LogonUser function does not cache credentials for this logon type.- See Also:
- Constant Field Values
 
 - 
LOGON32_LOGON_BATCHstatic final int LOGON32_LOGON_BATCH This logon type is intended for batch servers, where processes may be executing on behalf of a user without their direct intervention. This type is also for higher performance servers that process many plaintext authentication attempts at a time, such as mail or Web servers. The LogonUser function does not cache credentials for this logon type.- See Also:
- Constant Field Values
 
 - 
LOGON32_LOGON_SERVICEstatic final int LOGON32_LOGON_SERVICE Indicates a service-type logon. The account provided must have the service privilege enabled.- See Also:
- Constant Field Values
 
 - 
LOGON32_LOGON_UNLOCKstatic final int LOGON32_LOGON_UNLOCK This logon type is for GINA DLLs that log on users who will be interactively using the computer. This logon type can generate a unique audit record that shows when the workstation was unlocked.- See Also:
- Constant Field Values
 
 - 
LOGON32_LOGON_NETWORK_CLEARTEXTstatic final int LOGON32_LOGON_NETWORK_CLEARTEXT This logon type preserves the name and password in the authentication package, which allows the server to make connections to other network servers while impersonating the client. A server can accept plaintext credentials from a client, call LogonUser, verify that the user can access the system across the network, and still communicate with other servers.- See Also:
- Constant Field Values
 
 - 
LOGON32_LOGON_NEW_CREDENTIALSstatic final int LOGON32_LOGON_NEW_CREDENTIALS This logon type allows the caller to clone its current token and specify new credentials for outbound connections. The new logon session has the same local identifier but uses different credentials for other network connections. This logon type is supported only by the LOGON32_PROVIDER_WINNT50 logon provider.- See Also:
- Constant Field Values
 
 - 
LOGON32_PROVIDER_DEFAULTstatic final int LOGON32_PROVIDER_DEFAULT Use the standard logon provider for the system. The default security provider is negotiate, unless you pass NULL for the domain name and the user name is not in UPN format. In this case, the default provider is NTLM.- See Also:
- Constant Field Values
 
 - 
LOGON32_PROVIDER_WINNT35static final int LOGON32_PROVIDER_WINNT35 Use the Windows NT 3.5 logon provider.- See Also:
- Constant Field Values
 
 - 
LOGON32_PROVIDER_WINNT40static final int LOGON32_PROVIDER_WINNT40 Use the NTLM logon provider.- See Also:
- Constant Field Values
 
 - 
LOGON32_PROVIDER_WINNT50static final int LOGON32_PROVIDER_WINNT50 Use the negotiate logon provider.- See Also:
- Constant Field Values
 
 - 
HANDLE_FLAG_INHERITstatic final int HANDLE_FLAG_INHERIT If this flag is set, a child process created with the bInheritHandles parameter of CreateProcess set to TRUE will inherit the object handle.- See Also:
- Constant Field Values
 
 - 
HANDLE_FLAG_PROTECT_FROM_CLOSEstatic final int HANDLE_FLAG_PROTECT_FROM_CLOSE If this flag is set, calling theKernel32.CloseHandle(com.sun.jna.platform.win32.WinNT.HANDLE)function will not close the object handle.- See Also:
- Constant Field Values
 
 - 
STARTF_USESHOWWINDOWstatic final int STARTF_USESHOWWINDOW - See Also:
- Constant Field Values
 
 - 
STARTF_USESIZEstatic final int STARTF_USESIZE - See Also:
- Constant Field Values
 
 - 
STARTF_USEPOSITIONstatic final int STARTF_USEPOSITION - See Also:
- Constant Field Values
 
 - 
STARTF_USECOUNTCHARSstatic final int STARTF_USECOUNTCHARS - See Also:
- Constant Field Values
 
 - 
STARTF_USEFILLATTRIBUTEstatic final int STARTF_USEFILLATTRIBUTE - See Also:
- Constant Field Values
 
 - 
STARTF_RUNFULLSCREENstatic final int STARTF_RUNFULLSCREEN - See Also:
- Constant Field Values
 
 - 
STARTF_FORCEONFEEDBACKstatic final int STARTF_FORCEONFEEDBACK - See Also:
- Constant Field Values
 
 - 
STARTF_FORCEOFFFEEDBACKstatic final int STARTF_FORCEOFFFEEDBACK - See Also:
- Constant Field Values
 
 - 
STARTF_USESTDHANDLESstatic final int STARTF_USESTDHANDLES - See Also:
- Constant Field Values
 
 - 
DEBUG_PROCESSstatic final int DEBUG_PROCESS - See Also:
- Constant Field Values
 
 - 
DEBUG_ONLY_THIS_PROCESSstatic final int DEBUG_ONLY_THIS_PROCESS - See Also:
- Constant Field Values
 
 - 
CREATE_SUSPENDEDstatic final int CREATE_SUSPENDED - See Also:
- Constant Field Values
 
 - 
DETACHED_PROCESSstatic final int DETACHED_PROCESS - See Also:
- Constant Field Values
 
 - 
CREATE_NEW_CONSOLEstatic final int CREATE_NEW_CONSOLE - See Also:
- Constant Field Values
 
 - 
CREATE_NEW_PROCESS_GROUPstatic final int CREATE_NEW_PROCESS_GROUP - See Also:
- Constant Field Values
 
 - 
CREATE_UNICODE_ENVIRONMENTstatic final int CREATE_UNICODE_ENVIRONMENT - See Also:
- Constant Field Values
 
 - 
CREATE_SEPARATE_WOW_VDMstatic final int CREATE_SEPARATE_WOW_VDM - See Also:
- Constant Field Values
 
 - 
CREATE_SHARED_WOW_VDMstatic final int CREATE_SHARED_WOW_VDM - See Also:
- Constant Field Values
 
 - 
CREATE_FORCEDOSstatic final int CREATE_FORCEDOS - See Also:
- Constant Field Values
 
 - 
INHERIT_PARENT_AFFINITYstatic final int INHERIT_PARENT_AFFINITY - See Also:
- Constant Field Values
 
 - 
CREATE_PROTECTED_PROCESSstatic final int CREATE_PROTECTED_PROCESS - See Also:
- Constant Field Values
 
 - 
EXTENDED_STARTUPINFO_PRESENTstatic final int EXTENDED_STARTUPINFO_PRESENT - See Also:
- Constant Field Values
 
 - 
CREATE_BREAKAWAY_FROM_JOBstatic final int CREATE_BREAKAWAY_FROM_JOB - See Also:
- Constant Field Values
 
 - 
CREATE_PRESERVE_CODE_AUTHZ_LEVELstatic final int CREATE_PRESERVE_CODE_AUTHZ_LEVEL - See Also:
- Constant Field Values
 
 - 
CREATE_DEFAULT_ERROR_MODEstatic final int CREATE_DEFAULT_ERROR_MODE - See Also:
- Constant Field Values
 
 - 
CREATE_NO_WINDOWstatic final int CREATE_NO_WINDOW - See Also:
- Constant Field Values
 
 - 
FILE_ENCRYPTABLEstatic final int FILE_ENCRYPTABLE - See Also:
- Constant Field Values
 
 - 
FILE_IS_ENCRYPTEDstatic final int FILE_IS_ENCRYPTED - See Also:
- Constant Field Values
 
 - 
FILE_SYSTEM_ATTRstatic final int FILE_SYSTEM_ATTR - See Also:
- Constant Field Values
 
 - 
FILE_ROOT_DIRstatic final int FILE_ROOT_DIR - See Also:
- Constant Field Values
 
 - 
FILE_SYSTEM_DIRstatic final int FILE_SYSTEM_DIR - See Also:
- Constant Field Values
 
 - 
FILE_UNKNOWNstatic final int FILE_UNKNOWN - See Also:
- Constant Field Values
 
 - 
FILE_SYSTEM_NOT_SUPPORTstatic final int FILE_SYSTEM_NOT_SUPPORT - See Also:
- Constant Field Values
 
 - 
FILE_USER_DISALLOWEDstatic final int FILE_USER_DISALLOWED - See Also:
- Constant Field Values
 
 - 
FILE_READ_ONLYstatic final int FILE_READ_ONLY - See Also:
- Constant Field Values
 
 - 
FILE_DIR_DISALOWEDstatic final int FILE_DIR_DISALOWED - See Also:
- Constant Field Values
 
 - 
CREATE_FOR_IMPORTstatic final int CREATE_FOR_IMPORT - See Also:
- Constant Field Values
 
 - 
CREATE_FOR_DIRstatic final int CREATE_FOR_DIR - See Also:
- Constant Field Values
 
 - 
OVERWRITE_HIDDENstatic final int OVERWRITE_HIDDEN - See Also:
- Constant Field Values
 
 - 
INVALID_FILE_SIZEstatic final int INVALID_FILE_SIZE - See Also:
- Constant Field Values
 
 - 
INVALID_SET_FILE_POINTERstatic final int INVALID_SET_FILE_POINTER - See Also:
- Constant Field Values
 
 - 
INVALID_FILE_ATTRIBUTESstatic final int INVALID_FILE_ATTRIBUTES - See Also:
- Constant Field Values
 
 - 
STILL_ACTIVEstatic final int STILL_ACTIVE Return code for a process still active.- See Also:
- Constant Field Values
 
 - 
FileBasicInfostatic final int FileBasicInfo - See Also:
- Constant Field Values
 
 - 
FileStandardInfostatic final int FileStandardInfo - See Also:
- Constant Field Values
 
 - 
FileNameInfostatic final int FileNameInfo - See Also:
- Constant Field Values
 
 - 
FileRenameInfostatic final int FileRenameInfo - See Also:
- Constant Field Values
 
 - 
FileDispositionInfostatic final int FileDispositionInfo - See Also:
- Constant Field Values
 
 - 
FileAllocationInfostatic final int FileAllocationInfo - See Also:
- Constant Field Values
 
 - 
FileEndOfFileInfostatic final int FileEndOfFileInfo - See Also:
- Constant Field Values
 
 - 
FileStreamInfostatic final int FileStreamInfo - See Also:
- Constant Field Values
 
 - 
FileCompressionInfostatic final int FileCompressionInfo - See Also:
- Constant Field Values
 
 - 
FileAttributeTagInfostatic final int FileAttributeTagInfo - See Also:
- Constant Field Values
 
 - 
FileIdBothDirectoryInfostatic final int FileIdBothDirectoryInfo - See Also:
- Constant Field Values
 
 - 
FileIdBothDirectoryRestartInfostatic final int FileIdBothDirectoryRestartInfo - See Also:
- Constant Field Values
 
 - 
FileIoPriorityHintInfostatic final int FileIoPriorityHintInfo - See Also:
- Constant Field Values
 
 - 
FileRemoteProtocolInfostatic final int FileRemoteProtocolInfo - See Also:
- Constant Field Values
 
 - 
FileFullDirectoryInfostatic final int FileFullDirectoryInfo - See Also:
- Constant Field Values
 
 - 
FileFullDirectoryRestartInfostatic final int FileFullDirectoryRestartInfo - See Also:
- Constant Field Values
 
 - 
FileStorageInfostatic final int FileStorageInfo - See Also:
- Constant Field Values
 
 - 
FileAlignmentInfostatic final int FileAlignmentInfo - See Also:
- Constant Field Values
 
 - 
FileIdInfostatic final int FileIdInfo - See Also:
- Constant Field Values
 
 - 
FileIdExtdDirectoryInfostatic final int FileIdExtdDirectoryInfo - See Also:
- Constant Field Values
 
 - 
FileIdExtdDirectoryRestartInfostatic final int FileIdExtdDirectoryRestartInfo - See Also:
- Constant Field Values
 
 - 
FILE_MAP_COPYstatic final int FILE_MAP_COPY - See Also:
- Constant Field Values
 
 - 
FILE_MAP_WRITEstatic final int FILE_MAP_WRITE - See Also:
- Constant Field Values
 
 - 
FILE_MAP_READstatic final int FILE_MAP_READ - See Also:
- Constant Field Values
 
 - 
FILE_MAP_ALL_ACCESSstatic final int FILE_MAP_ALL_ACCESS - See Also:
- Constant Field Values
 
 - 
FILE_MAP_EXECUTEstatic final int FILE_MAP_EXECUTE - See Also:
- Constant Field Values
 
 - 
FindExInfoStandardstatic final int FindExInfoStandard The FindFirstFileEx function retrieves a standard set of attribute information. The data is returned in a WIN32_FIND_DATA structure.- See Also:
- Constant Field Values
 
 - 
FindExInfoBasicstatic final int FindExInfoBasic The FindFirstFileEx function does not query the short file name, improving overall enumeration speed. The data is returned in a WIN32_FIND_DATA structure, and the cAlternateFileName member is always a NULL string.- See Also:
- Constant Field Values
 
 - 
FindExInfoMaxInfoLevelstatic final int FindExInfoMaxInfoLevel This value is used for validation. Supported values are less than this value.- See Also:
- Constant Field Values
 
 - 
FindExSearchNameMatchstatic final int FindExSearchNameMatch The search for a file that matches a specified file name. The lpSearchFilter parameter of FindFirstFileEx must be NULL when this search operation is used.- See Also:
- Constant Field Values
 
 - 
FindExSearchLimitToDirectoriesstatic final int FindExSearchLimitToDirectories This is an advisory flag. If the file system supports directory filtering, the function searches for a file that matches the specified name and is also a directory. If the file system does not support directory filtering, this flag is silently ignored. The lpSearchFilter parameter of the FindFirstFileEx function must be NULL when this search value is used. If directory filtering is desired, this flag can be used on all file systems, but because it is an advisory flag and only affects file systems that support it, the application must examine the file attribute data stored in the lpFindFileData parameter of the FindFirstFileEx function to determine whether the function has returned a handle to a directory.- See Also:
- Constant Field Values
 
 - 
FindExSearchLimitToDevicesstatic final int FindExSearchLimitToDevices This filtering type is not available. For more information, see Device Interface Classes.- See Also:
- Constant Field Values
 
 - 
LMEM_FIXEDstatic final int LMEM_FIXED - See Also:
- Constant Field Values
 
 - 
LMEM_MOVEABLEstatic final int LMEM_MOVEABLE - See Also:
- Constant Field Values
 
 - 
LMEM_NOCOMPACTstatic final int LMEM_NOCOMPACT - See Also:
- Constant Field Values
 
 - 
LMEM_NODISCARDstatic final int LMEM_NODISCARD - See Also:
- Constant Field Values
 
 - 
LMEM_ZEROINITstatic final int LMEM_ZEROINIT - See Also:
- Constant Field Values
 
 - 
LMEM_MODIFYstatic final int LMEM_MODIFY - See Also:
- Constant Field Values
 
 - 
LMEM_DISCARDABLEstatic final int LMEM_DISCARDABLE - See Also:
- Constant Field Values
 
 - 
LMEM_VALID_FLAGSstatic final int LMEM_VALID_FLAGS - See Also:
- Constant Field Values
 
 - 
LMEM_INVALID_HANDLEstatic final int LMEM_INVALID_HANDLE - See Also:
- Constant Field Values
 
 - 
LHNDstatic final int LHND - See Also:
- Constant Field Values
 
 - 
LPTRstatic final int LPTR - See Also:
- Constant Field Values
 
 - 
LMEM_DISCARDEDstatic final int LMEM_DISCARDED - See Also:
- Constant Field Values
 
 - 
LMEM_LOCKCOUNTstatic final int LMEM_LOCKCOUNT - See Also:
- Constant Field Values
 
 - 
FORMAT_MESSAGE_ALLOCATE_BUFFERstatic final int FORMAT_MESSAGE_ALLOCATE_BUFFER The lpBuffer parameter is a pointer to a PVOID pointer, and that the nSize parameter specifies the minimum number of TCHARs to allocate for an output message buffer. The function allocates a buffer large enough to hold the formatted message, and places a pointer to the allocated buffer at the address specified by lpBuffer. The caller should use the LocalFree function to free the buffer when it is no longer needed.- See Also:
- Constant Field Values
 
 - 
FORMAT_MESSAGE_IGNORE_INSERTSstatic final int FORMAT_MESSAGE_IGNORE_INSERTS Insert sequences in the message definition are to be ignored and passed through to the output buffer unchanged. This flag is useful for fetching a message for later formatting. If this flag is set, the Arguments parameter is ignored.- See Also:
- Constant Field Values
 
 - 
FORMAT_MESSAGE_FROM_STRINGstatic final int FORMAT_MESSAGE_FROM_STRING The lpSource parameter is a pointer to a null-terminated message definition. The message definition may contain insert sequences, just as the message text in a message table resource may. Cannot be used with FORMAT_MESSAGE_FROM_HMODULE or FORMAT_MESSAGE_FROM_SYSTEM.- See Also:
- Constant Field Values
 
 - 
FORMAT_MESSAGE_FROM_HMODULEstatic final int FORMAT_MESSAGE_FROM_HMODULE The lpSource parameter is a module handle containing the message-table resource(s) to search. If this lpSource handle is NULL, the current process's application image file will be searched. Cannot be used with FORMAT_MESSAGE_FROM_STRING.- See Also:
- Constant Field Values
 
 - 
FORMAT_MESSAGE_FROM_SYSTEMstatic final int FORMAT_MESSAGE_FROM_SYSTEM The function should search the system message-table resource(s) for the requested message. If this flag is specified with FORMAT_MESSAGE_FROM_HMODULE, the function searches the system message table if the message is not found in the module specified by lpSource. Cannot be used with FORMAT_MESSAGE_FROM_STRING. If this flag is specified, an application can pass the result of the GetLastError function to retrieve the message text for a system-defined error.- See Also:
- Constant Field Values
 
 - 
FORMAT_MESSAGE_ARGUMENT_ARRAYstatic final int FORMAT_MESSAGE_ARGUMENT_ARRAY The Arguments parameter is not a va_list structure, but is a pointer to an array of values that represent the arguments. This flag cannot be used with 64-bit argument values. If you are using 64-bit values, you must use the va_list structure.- See Also:
- Constant Field Values
 
 - 
DRIVE_UNKNOWNstatic final int DRIVE_UNKNOWN The drive type cannot be determined.- See Also:
- Constant Field Values
 
 - 
DRIVE_NO_ROOT_DIRstatic final int DRIVE_NO_ROOT_DIR The root path is invalid, for example, no volume is mounted at the path.- See Also:
- Constant Field Values
 
 - 
DRIVE_REMOVABLEstatic final int DRIVE_REMOVABLE The drive is a type that has removable media, for example, a floppy drive or removable hard disk.- See Also:
- Constant Field Values
 
 - 
DRIVE_FIXEDstatic final int DRIVE_FIXED The drive is a type that cannot be removed, for example, a fixed hard drive.- See Also:
- Constant Field Values
 
 - 
DRIVE_REMOTEstatic final int DRIVE_REMOTE The drive is a remote (network) drive.- See Also:
- Constant Field Values
 
 - 
DRIVE_CDROMstatic final int DRIVE_CDROM The drive is a CD-ROM drive.- See Also:
- Constant Field Values
 
 - 
DRIVE_RAMDISKstatic final int DRIVE_RAMDISK The drive is a RAM disk.- See Also:
- Constant Field Values
 
 - 
INFINITEstatic final int INFINITE - See Also:
- Constant Field Values
 
 - 
MOVEFILE_COPY_ALLOWEDstatic final int MOVEFILE_COPY_ALLOWED If the file is to be moved to a different volume, the function simulates the move by using the CopyFile and DeleteFile functions. This value cannot be used with MOVEFILE_DELAY_UNTIL_REBOOT.- See Also:
- Constant Field Values
 
 - 
MOVEFILE_CREATE_HARDLINKstatic final int MOVEFILE_CREATE_HARDLINK Reserved for future use.- See Also:
- Constant Field Values
 
 - 
MOVEFILE_DELAY_UNTIL_REBOOTstatic final int MOVEFILE_DELAY_UNTIL_REBOOT The system does not move the file until the operating system is restarted. The system moves the file immediately after AUTOCHK is executed, but before creating any paging files. Consequently, this parameter enables the function to delete paging files from previous startups. This value can be used only if the process is in the context of a user who belongs to the administrators group or the LocalSystem account. This value cannot be used with MOVEFILE_COPY_ALLOWED. Windows Server 2003 and Windows XP: For information about special situations where this functionality can fail, and a suggested workaround solution, see Files are not exchanged when Windows Server 2003 restarts if you use the MoveFileEx function to schedule a replacement for some files in the Help and Support Knowledge Base. Windows 2000: If you specify the MOVEFILE_DELAY_UNTIL_REBOOT flag for dwFlags, you cannot also prepend the file name that is specified by lpExistingFileName with "\\?".- See Also:
- Constant Field Values
 
 - 
MOVEFILE_FAIL_IF_NOT_TRACKABLEstatic final int MOVEFILE_FAIL_IF_NOT_TRACKABLE The function fails if the source file is a link source, but the file cannot be tracked after the move. This situation can occur if the destination is a volume formatted with the FAT file system.- See Also:
- Constant Field Values
 
 - 
MOVEFILE_REPLACE_EXISTINGstatic final int MOVEFILE_REPLACE_EXISTING If a file named lpNewFileName exists, the function replaces its contents with the contents of the lpExistingFileName file, provided that security requirements regarding access control lists (ACLs) are met. For more information, see the Remarks section of this topic. This value cannot be used if lpNewFileName or lpExistingFileName names a directory.- See Also:
- Constant Field Values
 
 - 
MOVEFILE_WRITE_THROUGHstatic final int MOVEFILE_WRITE_THROUGH The function does not return until the file is actually moved on the disk. Setting this value guarantees that a move performed as a copy and delete operation is flushed to disk before the function returns. The flush occurs at the end of the copy operation. This value has no effect if MOVEFILE_DELAY_UNTIL_REBOOT is set.- See Also:
- Constant Field Values
 
 - 
PIPE_CLIENT_ENDstatic final int PIPE_CLIENT_END - See Also:
- Constant Field Values
 
 - 
PIPE_SERVER_ENDstatic final int PIPE_SERVER_END - See Also:
- Constant Field Values
 
 - 
PIPE_ACCESS_DUPLEXstatic final int PIPE_ACCESS_DUPLEX - See Also:
- Constant Field Values
 
 - 
PIPE_ACCESS_INBOUNDstatic final int PIPE_ACCESS_INBOUND - See Also:
- Constant Field Values
 
 - 
PIPE_ACCESS_OUTBOUNDstatic final int PIPE_ACCESS_OUTBOUND - See Also:
- Constant Field Values
 
 - 
PIPE_TYPE_BYTEstatic final int PIPE_TYPE_BYTE - See Also:
- Constant Field Values
 
 - 
PIPE_TYPE_MESSAGEstatic final int PIPE_TYPE_MESSAGE - See Also:
- Constant Field Values
 
 - 
PIPE_READMODE_BYTEstatic final int PIPE_READMODE_BYTE - See Also:
- Constant Field Values
 
 - 
PIPE_READMODE_MESSAGEstatic final int PIPE_READMODE_MESSAGE - See Also:
- Constant Field Values
 
 - 
PIPE_WAITstatic final int PIPE_WAIT - See Also:
- Constant Field Values
 
 - 
PIPE_NOWAITstatic final int PIPE_NOWAIT - See Also:
- Constant Field Values
 
 - 
PIPE_ACCEPT_REMOTE_CLIENTSstatic final int PIPE_ACCEPT_REMOTE_CLIENTS - See Also:
- Constant Field Values
 
 - 
PIPE_REJECT_REMOTE_CLIENTSstatic final int PIPE_REJECT_REMOTE_CLIENTS - See Also:
- Constant Field Values
 
 - 
PIPE_UNLIMITED_INSTANCESstatic final int PIPE_UNLIMITED_INSTANCES - See Also:
- Constant Field Values
 
 - 
NMPWAIT_USE_DEFAULT_WAITstatic final int NMPWAIT_USE_DEFAULT_WAIT - See Also:
- Constant Field Values
 
 - 
NMPWAIT_NOWAITstatic final int NMPWAIT_NOWAIT - See Also:
- Constant Field Values
 
 - 
NMPWAIT_WAIT_FOREVERstatic final int NMPWAIT_WAIT_FOREVER - See Also:
- Constant Field Values
 
 - 
NOPARITYstatic final int NOPARITY No parity.- See Also:
- Constant Field Values
 
 - 
ODDPARITYstatic final int ODDPARITY Odd parity.- See Also:
- Constant Field Values
 
 - 
EVENPARITYstatic final int EVENPARITY Even parity.- See Also:
- Constant Field Values
 
 - 
MARKPARITYstatic final int MARKPARITY Mark parity.- See Also:
- Constant Field Values
 
 - 
SPACEPARITYstatic final int SPACEPARITY Space parity.- See Also:
- Constant Field Values
 
 - 
ONESTOPBITstatic final int ONESTOPBIT 1 stop bit.- See Also:
- Constant Field Values
 
 - 
ONE5STOPBITSstatic final int ONE5STOPBITS 1.5 stop bits.- See Also:
- Constant Field Values
 
 - 
TWOSTOPBITSstatic final int TWOSTOPBITS 2 stop bits.- See Also:
- Constant Field Values
 
 - 
CBR_110static final int CBR_110 110 bps.- See Also:
- Constant Field Values
 
 - 
CBR_300static final int CBR_300 300 bps.- See Also:
- Constant Field Values
 
 - 
CBR_600static final int CBR_600 600 bps.- See Also:
- Constant Field Values
 
 - 
CBR_1200static final int CBR_1200 1200 bps.- See Also:
- Constant Field Values
 
 - 
CBR_2400static final int CBR_2400 2400 bps.- See Also:
- Constant Field Values
 
 - 
CBR_4800static final int CBR_4800 4800 bps.- See Also:
- Constant Field Values
 
 - 
CBR_9600static final int CBR_9600 9600 bps.- See Also:
- Constant Field Values
 
 - 
CBR_14400static final int CBR_14400 14400 bps.- See Also:
- Constant Field Values
 
 - 
CBR_19200static final int CBR_19200 19200 bps.- See Also:
- Constant Field Values
 
 - 
CBR_38400static final int CBR_38400 38400 bps.- See Also:
- Constant Field Values
 
 - 
CBR_56000static final int CBR_56000 56000 bps.- See Also:
- Constant Field Values
 
 - 
CBR_128000static final int CBR_128000 128000 bps.- See Also:
- Constant Field Values
 
 - 
CBR_256000static final int CBR_256000 256000 bps.- See Also:
- Constant Field Values
 
 - 
DTR_CONTROL_DISABLEstatic final int DTR_CONTROL_DISABLE Disables the DTR line when the device is opened and leaves it disabled.- See Also:
- Constant Field Values
 
 - 
DTR_CONTROL_ENABLEstatic final int DTR_CONTROL_ENABLE Enables the DTR line when the device is opened and leaves it on.- See Also:
- Constant Field Values
 
 - 
DTR_CONTROL_HANDSHAKEstatic final int DTR_CONTROL_HANDSHAKE Enables DTR handshaking.
 If handshaking is enabled, it is an error for the application to adjust the line by using the EscapeCommFunction function.- See Also:
- Constant Field Values
 
 - 
RTS_CONTROL_DISABLEstatic final int RTS_CONTROL_DISABLE Disables the RTS line when the device is opened and leaves it disabled.- See Also:
- Constant Field Values
 
 - 
RTS_CONTROL_ENABLEstatic final int RTS_CONTROL_ENABLE Enables the RTS line when the device is opened and leaves it on.- See Also:
- Constant Field Values
 
 - 
RTS_CONTROL_HANDSHAKEstatic final int RTS_CONTROL_HANDSHAKE Enables RTS handshaking.
 The driver raises the RTS line when the "type-ahead" (input) buffer is less than one-half full and lowers the RTS line when the buffer is more than three-quarters full.
 If handshaking is enabled, it is an error for the application to adjust the line by using the EscapeCommFunction function.- See Also:
- Constant Field Values
 
 - 
RTS_CONTROL_TOGGLEstatic final int RTS_CONTROL_TOGGLE Specifies that the RTS line will be high if bytes are available for transmission.
 After all buffered bytes have been sent, the RTS line will be low.- See Also:
- Constant Field Values
 
 - 
ES_AWAYMODE_REQUIREDstatic final int ES_AWAYMODE_REQUIRED Enables away mode. This value must be specified withES_CONTINUOUS. Away mode should be used only by media-recording and media-distribution applications that must perform critical background processing on desktop computers while the computer appears to be sleeping. See Remarks.- See Also:
- Constant Field Values
 
 - 
ES_CONTINUOUSstatic final int ES_CONTINUOUS Informs the system that the state being set should remain in effect until the next call that uses ES_CONTINUOUS and one of the other state flags is cleared.- See Also:
- Constant Field Values
 
 - 
ES_DISPLAY_REQUIREDstatic final int ES_DISPLAY_REQUIRED Forces the display to be on by resetting the display idle timer.- See Also:
- Constant Field Values
 
 - 
ES_SYSTEM_REQUIREDstatic final int ES_SYSTEM_REQUIRED Forces the system to be in the working state by resetting the system idle timer.- See Also:
- Constant Field Values
 
 - 
ES_USER_PRESENTstatic final int ES_USER_PRESENT This value is not supported. If ES_USER_PRESENT is combined with other esFlags values, the call will fail and none of the specified states will be set.- See Also:
- Constant Field Values
 
 - 
MUTEX_MODIFY_STATEstatic final int MUTEX_MODIFY_STATE - See Also:
- Constant Field Values
 
 - 
MUTEX_ALL_ACCESSstatic final int MUTEX_ALL_ACCESS - See Also:
- Constant Field Values
 
 
- 
 
-