Changeset 390


Ignore:
Timestamp:
Dec 6, 2007, 11:47:23 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

アトム関係の関数・定数宣言の追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/api_system.sbp

    r388 r390  
    55
    66#ifdef UNICODE
     7Const _FuncName_AddAtom = "AddAtomW"
    78Const _FuncName_CompareString = "CompareStringW"
    89Const _FuncName_CopyFile = "CopyFileW"
     
    2021Const _FuncName_ExpandEnvironmentStrings = "ExpandEnvironmentStringsW"
    2122Const _FuncName_FatalAppExit = "FatalAppExitW"
     23Const _FuncName_FindAtom = "FindAtomW"
    2224Const _FuncName_FindFirstChangeNotification = "FindFirstChangeNotificationW"
    2325Const _FuncName_FindFirstFile = "FindFirstFileW"
     
    3840Const _FuncName_GetFileAttributes = "GetFileAttributesW"
    3941Const _FuncName_GetFullPathName = "GetFullPathNameW"
     42Const _FuncName_GetAtomName = "GetAtomNameW"
     43Const _FuncName_GlobalAddAtom = "GlobalAddAtomW"
     44Const _FuncName_GlobalFindAtom = "GlobalFindAtomW"
     45Const _FuncName_GlobalGetAtomName = "GlobalGetAtomNameW"
    4046Const _FuncName_GetLogicalDriveStrings = "GetLogicalDriveStringsW"
    4147Const _FuncName_GetLongPathName = "GetLongPathNameW"
     
    7278Const _FuncName_SetFileAttributes = "SetFileAttributesW"
    7379#else
     80Const _FuncName_AddAtom = "AddAtomA"
    7481Const _FuncName_CompareString = "CompareStringA"
    7582Const _FuncName_CopyFile = "CopyFileA"
     
    8794Const _FuncName_ExpandEnvironmentStrings = "ExpandEnvironmentStringsA"
    8895Const _FuncName_FatalAppExit = "FatalAppExitA"
     96Const _FuncName_FindAtom = "FindAtomA"
    8997Const _FuncName_FindFirstChangeNotification = "FindFirstChangeNotificationA"
    9098Const _FuncName_FindFirstFile = "FindFirstFileA"
     
    93101Const _FuncName_FormatMessage = "FormatMessageA"
    94102Const _FuncName_FreeEnvironmentStrings = "FreeEnvironmentStringsA"
     103Const _FuncName_GetAtomName = "GetAtomNameA"
     104Const _FuncName_GlobalAddAtom = "GlobalAddAtomA"
     105Const _FuncName_GlobalFindAtom = "GlobalFindAtomA"
     106Const _FuncName_GlobalGetAtomName = "GlobalGetAtomNameA"
    95107Const _FuncName_GetCompressedFileSize = "GetCompressedFileSizeA"
    96108Const _FuncName_GetComputerName = "GetComputerNameA"
     
    144156' default constants
    145157Const INVALID_HANDLE_VALUE = -1 As HANDLE
    146 Const INVALID_SET_FILE_POINTER = &HFFFFFFFF
     158Const INVALID_FILE_SIZE = &HFFFFFFFF As DWord
     159Const INVALID_SET_FILE_POINTER = &HFFFFFFFF As DWord
     160Const INVALID_FILE_ATTRIBUTES = &HFFFFFFFF As DWord
    147161
    148162'-----------------
     
    940954    ByRef PreviousState As TOKEN_PRIVILEGES, ByRef ReturnLength As Long) As Long
    941955
     956Declare Function AddAtom Lib "kernel32" Alias _FuncName_AddAtom (lpString As LPCTSTR) As ATOM
     957Declare Function DeleteAtom Lib "kernel32" (nAtom As ATOM) As ATOM
     958Declare Function FindAtom Lib "kernel32" Alias _FuncName_AddAtom (lpString As LPCTSTR) As ATOM
     959Declare Function GetAtomName Lib "kernel32" Alias _FuncName_GetAtomName (nAtom As ATOM, lpBuffer As LPCTSTR, nSize As Long) As DWord
     960
     961Declare Function GlobalAddAtom Lib "kernel32" Alias _FuncName_GlobalAddAtom (lpString As LPCTSTR) As ATOM
     962Declare Function GlobalDeleteAtom Lib "kernel32" (a As ATOM) As ATOM
     963Declare Function GlobalFindAtom Lib "kernel32" Alias _FuncName_GlobalAddAtom (lpString As LPCTSTR) As ATOM
     964Declare Function GlobalGetAtomName Lib "kernel32" Alias _FuncName_GlobalGetAtomName (nAtom As ATOM, lpBuffer As LPCTSTR, nSize As Long) As DWord
     965
     966Declare Function InitAtomTable Lib "kernel32" (nSize As DWord) As BOOL
     967
     968Const MAXINTATOM = &hC000
     969Const MAKEINTATOM(i) = (i As Word As ULONG_PTR As LPTSTR)
     970Const INVALID_ATOM = 0 As ATOM
     971
    942972#endif '_INC_SYSTEM
Note: See TracChangeset for help on using the changeset viewer.