Ignore:
Timestamp:
Mar 8, 2007, 10:42:50 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

#50 API宣言の変更完了

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_winspool.sbp

    r1 r141  
    55#define _INC_WINSPOOL
    66
     7#ifdef UNICODE
     8Const _FuncName_EnumPrinters = "EnumPrintersW"
     9#else
     10Const _FuncName_EnumPrinters = "EnumPrintersA"
     11#endif
    712
    8 Type PRINTER_INFO_5
     13Type PRINTER_INFO_5W
     14    pPrinterName As LPWSTR
     15    pPortName As LPWSTR
     16    Attributes As DWord
     17    DeviceNotSelectedTimeout As DWord
     18    TransmissionRetryTimeout As DWord
     19End Type
     20
     21Type PRINTER_INFO_5A
    922    pPrinterName As LPSTR
    1023    pPortName As LPSTR
     
    1427End Type
    1528
     29#ifdef UNICODE
     30TypeDef PRINTER_INFO_5 = PRINTER_INFO_5W
     31#else
     32TypeDef PRINTER_INFO_5 = PRINTER_INFO_5A
     33#endif
    1634
    17 Declare Function EnumPrinters Lib "winspool.drv" Alias "EnumPrintersA" (Flags As DWord, Name As LPSTR, Level As DWord, pPrinterEnum As *Byte, cbBuf As DWord, ByRef rer_cbNeeded As DWord, ByRef ref_cReturned As DWord) As BOOL
     35Declare Function EnumPrinters Lib "winspool.drv" Alias _FuncName_EnumPrinters (Flags As DWord, Name As LPTSTR, Level As DWord, pPrinterEnum As *Byte, cbBuf As DWord, ByRef cbNeeded As DWord, ByRef cReturned As DWord) As BOOL
    1836
    1937Const PRINTER_ENUM_DEFAULT     = &H00000001
Note: See TracChangeset for help on using the changeset viewer.