Changeset 137 for Include/api_system.sbp


Ignore:
Timestamp:
Mar 7, 2007, 5:36:31 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

#55#73#75とりあえず完了

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_system.sbp

    r125 r137  
    33#ifndef _INC_SYSTEM
    44#define _INC_SYSTEM
     5
     6#ifdef UNICODE
     7Const _FuncName_lstrcpy = "lstrcpyW"
     8#else
     9Const _FuncName_lstrcpy = "lstrcpyA"
     10#endif
    511
    612
     
    546552Declare Function FreeLibrary Lib "kernel32" (hLibModule As HINSTANCE) As BOOL
    547553Declare Sub FreeLibraryAndExitThread Lib "kernel32" (hModule As HANDLE, dwExitCode As DWord)
    548 Declare Function GetCommandLine Lib "kernel32" Alias "GetCommandLineA" () As BytePtr
     554Declare Function GetCommandLineA Lib "kernel32" () As PCSTR
     555Declare Function GetCommandLineW Lib "kernel32" () As PCWSTR
     556#ifdef UNICODE
     557Declare Function GetCommandLine Lib "kernel32" Alias "GetCommandLineW" () As PCWSTR
     558#else
     559Declare Function GetCommandLine Lib "kernel32" Alias "GetCommandLineA" () As PCSTR
     560#endif
    549561Declare Function GetCompressedFileSize Lib "kernel32" Alias "GetCompressedFileSizeA" (lpFileName As BytePtr, ByRef lpFileSizeHigh As DWord) As DWord
    550562
     
    782794Declare Function lstrcmp Lib "kernel32" Alias "lstrcmpA" (pString1 As PCSTR, pString2 As PCSTR) As Long
    783795Declare Function lstrcmpi Lib "kernel32" Alias "lstrcmpiA" (pString1 As PCSTR, pString2 As PCSTR) As Long
    784 Declare Function lstrcpy Lib "kernel32" Alias "lstrcpyA" (pString1 As PSTR, pString2 As PCSTR) As PSTR
     796Declare Function lstrcpy Lib "kernel32" Alias _FuncName_lstrcpy (pString1 As PTSTR, pString2 As PCTSTR) As PSTR
    785797Declare Function lstrlenA Lib "kernel32" (pString As PCSTR) As Long
    786798Declare Function lstrlenW Lib "kernel32" (pString As PCWSTR) As Long
    787799#ifdef UNICODE
    788 Declare Function lstrlen Lib "kernel32" Alias "lstrlenW" (lpString As PCTSTR) As Long
     800Declare Function lstrlen Lib "kernel32" Alias "lstrlenW" (pString As PCTSTR) As Long
    789801#else
    790 Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (lpString As PCTSTR) As Long
     802Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (pString As PCTSTR) As Long
    791803#endif
    792804Declare Sub memcpy Lib "kernel32" Alias "RtlMoveMemory" (pDest As VoidPtr, pSrc As VoidPtr, length As SIZE_T)
Note: See TracChangeset for help on using the changeset viewer.