Ignore:
Timestamp:
Sep 21, 2008, 2:06:46 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

Console.Title(取得側)が正しく動かないバグを除去

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/api_console.sbp

    r622 r629  
    210210Declare Function AllocConsole Lib "kernel32" () As BOOL
    211211Declare Function FreeConsole Lib "kernel32" () As BOOL
    212 Declare Function GetConsoleTitle Lib "kernel32" Alias _FuncName_GetConsoleTitle (lpConsoleTitle As LPSTR, nSize As DWord) As DWord
    213 Declare Function SetConsoleTitle Lib "kernel32" Alias _FuncName_SetConsoleTitle (lpConsoleTitle As LPSTR) As BOOL
     212Declare Function GetConsoleTitle Lib "kernel32" Alias _FuncName_GetConsoleTitle (lpConsoleTitle As LPTSTR, nSize As DWord) As DWord
     213Declare Function SetConsoleTitle Lib "kernel32" Alias _FuncName_SetConsoleTitle (lpConsoleTitle As LPTSTR) As BOOL
    214214Declare Function ReadConsole Lib "kernel32" Alias _FuncName_ReadConsole (hConsoleInput As HANDLE, lpBuffer As VoidPtr, nNumberOfCharsToRead As DWord, ByRef lpNumberOfCharsRead As DWord, lpReserved As VoidPtr) As BOOL
    215215Declare Function WriteConsole Lib "kernel32" Alias _FuncName_WriteConsole (hConsoleOutput As HANDLE, lpBuffer As VoidPtr, nNumberOfCharsToWrite As DWord, ByRef lpNumberOfCharsWritten As DWord, lpReserved As VoidPtr) As BOOL
     
    223223Declare Function SetConsoleOutputCP Lib "kernel32" (wCodePageID As DWord) As BOOL
    224224
    225 Function COORDtoDWORD ( ByRef coord As COORD) As DWord
     225Function COORDtoDWORD(ByRef coord As COORD) As DWord
    226226    Return GetDWord(VarPtr(coord))
    227227End Function
Note: See TracChangeset for help on using the changeset viewer.