- Timestamp:
- Dec 6, 2007, 11:47:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/api_system.sbp
r388 r390 5 5 6 6 #ifdef UNICODE 7 Const _FuncName_AddAtom = "AddAtomW" 7 8 Const _FuncName_CompareString = "CompareStringW" 8 9 Const _FuncName_CopyFile = "CopyFileW" … … 20 21 Const _FuncName_ExpandEnvironmentStrings = "ExpandEnvironmentStringsW" 21 22 Const _FuncName_FatalAppExit = "FatalAppExitW" 23 Const _FuncName_FindAtom = "FindAtomW" 22 24 Const _FuncName_FindFirstChangeNotification = "FindFirstChangeNotificationW" 23 25 Const _FuncName_FindFirstFile = "FindFirstFileW" … … 38 40 Const _FuncName_GetFileAttributes = "GetFileAttributesW" 39 41 Const _FuncName_GetFullPathName = "GetFullPathNameW" 42 Const _FuncName_GetAtomName = "GetAtomNameW" 43 Const _FuncName_GlobalAddAtom = "GlobalAddAtomW" 44 Const _FuncName_GlobalFindAtom = "GlobalFindAtomW" 45 Const _FuncName_GlobalGetAtomName = "GlobalGetAtomNameW" 40 46 Const _FuncName_GetLogicalDriveStrings = "GetLogicalDriveStringsW" 41 47 Const _FuncName_GetLongPathName = "GetLongPathNameW" … … 72 78 Const _FuncName_SetFileAttributes = "SetFileAttributesW" 73 79 #else 80 Const _FuncName_AddAtom = "AddAtomA" 74 81 Const _FuncName_CompareString = "CompareStringA" 75 82 Const _FuncName_CopyFile = "CopyFileA" … … 87 94 Const _FuncName_ExpandEnvironmentStrings = "ExpandEnvironmentStringsA" 88 95 Const _FuncName_FatalAppExit = "FatalAppExitA" 96 Const _FuncName_FindAtom = "FindAtomA" 89 97 Const _FuncName_FindFirstChangeNotification = "FindFirstChangeNotificationA" 90 98 Const _FuncName_FindFirstFile = "FindFirstFileA" … … 93 101 Const _FuncName_FormatMessage = "FormatMessageA" 94 102 Const _FuncName_FreeEnvironmentStrings = "FreeEnvironmentStringsA" 103 Const _FuncName_GetAtomName = "GetAtomNameA" 104 Const _FuncName_GlobalAddAtom = "GlobalAddAtomA" 105 Const _FuncName_GlobalFindAtom = "GlobalFindAtomA" 106 Const _FuncName_GlobalGetAtomName = "GlobalGetAtomNameA" 95 107 Const _FuncName_GetCompressedFileSize = "GetCompressedFileSizeA" 96 108 Const _FuncName_GetComputerName = "GetComputerNameA" … … 144 156 ' default constants 145 157 Const INVALID_HANDLE_VALUE = -1 As HANDLE 146 Const INVALID_SET_FILE_POINTER = &HFFFFFFFF 158 Const INVALID_FILE_SIZE = &HFFFFFFFF As DWord 159 Const INVALID_SET_FILE_POINTER = &HFFFFFFFF As DWord 160 Const INVALID_FILE_ATTRIBUTES = &HFFFFFFFF As DWord 147 161 148 162 '----------------- … … 940 954 ByRef PreviousState As TOKEN_PRIVILEGES, ByRef ReturnLength As Long) As Long 941 955 956 Declare Function AddAtom Lib "kernel32" Alias _FuncName_AddAtom (lpString As LPCTSTR) As ATOM 957 Declare Function DeleteAtom Lib "kernel32" (nAtom As ATOM) As ATOM 958 Declare Function FindAtom Lib "kernel32" Alias _FuncName_AddAtom (lpString As LPCTSTR) As ATOM 959 Declare Function GetAtomName Lib "kernel32" Alias _FuncName_GetAtomName (nAtom As ATOM, lpBuffer As LPCTSTR, nSize As Long) As DWord 960 961 Declare Function GlobalAddAtom Lib "kernel32" Alias _FuncName_GlobalAddAtom (lpString As LPCTSTR) As ATOM 962 Declare Function GlobalDeleteAtom Lib "kernel32" (a As ATOM) As ATOM 963 Declare Function GlobalFindAtom Lib "kernel32" Alias _FuncName_GlobalAddAtom (lpString As LPCTSTR) As ATOM 964 Declare Function GlobalGetAtomName Lib "kernel32" Alias _FuncName_GlobalGetAtomName (nAtom As ATOM, lpBuffer As LPCTSTR, nSize As Long) As DWord 965 966 Declare Function InitAtomTable Lib "kernel32" (nSize As DWord) As BOOL 967 968 Const MAXINTATOM = &hC000 969 Const MAKEINTATOM(i) = (i As Word As ULONG_PTR As LPTSTR) 970 Const INVALID_ATOM = 0 As ATOM 971 942 972 #endif '_INC_SYSTEM
Note:
See TracChangeset
for help on using the changeset viewer.