Changeset 556 for trunk


Ignore:
Timestamp:
Jul 20, 2008, 1:41:42 AM (16 years ago)
Author:
NoWest
Message:

kernel系のAPIを追加。

File:
1 edited

Legend:

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

    r521 r556  
    933933    WriteTotalTimeoutConstant As DWord
    934934End Type
     935
    935936Type COMSTAT
    936  fCoBitFlds As Long 'See Comment in Win32API.Txt
    937  cbInQue As DWord
    938  cbOutQue As DWord
    939 End Type
     937    fCoBitFlds As Long 'See Comment in Win32API.Txt
     938    cbInQue As DWord
     939    cbOutQue As DWord
     940End Type
     941
    940942Declare Function SetCommState Lib "kernel32" (hCommDev As HANDLE, ByRef dcb As DCB) As BOOL
    941943Declare Function SetCommTimeouts Lib "kernel32" (hFile As HANDLE ,ByRef pCommTimeouts As COMMTIMEOUTS) As BOOL
     
    946948Declare Function WaitCommEvent Lib "kernel32" (hFile As HANDLE, ByRef EvtMask As DWord, lpOverlapped As *OVERLAPPED)  As BOOL
    947949
     950Const PURGE_TXABORT   =    &H0001
     951Const PURGE_RXABORT   =    &H0002
     952Const PURGE_TXCLEAR   =    &H0004
     953Const PURGE_RXCLEAR   =    &H0008
     954Declare Function PurgeComm Lib "kernel32" (hFile As HANDLE, dwFlags As DWord) As BOOL
     955
    948956Declare Function OpenProcessToken Lib "advapi32" (ProcessHandle As HANDLE, DesiredAccess As DWord, ByRef TokenHandle As HANDLE) As BOOL
    949957Declare Function LookupPrivilegeValue Lib "advapi32" Alias _FuncName_LookupPrivilegeValue (lpSystemName As LPCTSTR, lpName As LPCTSTR, ByRef Luid As LUID) As Long
Note: See TracChangeset for help on using the changeset viewer.