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

#50 API宣言の変更完了

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/api_richedit.sbp

    r1 r141  
    3030Const CFE_AUTOCOLOR = &H40000000
    3131
    32 Type CHARFORMAT
     32Type CHARFORMATW
    3333    cbSize As DWord
    3434    dwMask As DWord
     
    3636    yHeight As Long
    3737    yOffset As Long
    38     crTextColor As DWord
     38    crTextColor As COLORREF
    3939    bCharSet As Byte
    4040    bPitchAndFamily As Byte
    41     szFaceName[ELM(LF_FACESIZE)] As Byte
    42 End Type
    43 
     41    szFaceName[ELM(LF_FACESIZE)] As WCHAR
     42End Type
     43Type CHARFORMATA
     44    cbSize As DWord
     45    dwMask As DWord
     46    dwEffects As DWord
     47    yHeight As Long
     48    yOffset As Long
     49    crTextColor As COLORREF
     50    bCharSet As Byte
     51    bPitchAndFamily As Byte
     52    szFaceName[ELM(LF_FACESIZE)] As SByte
     53End Type
     54#ifdef UNICODE
     55TypeDef CHARFORMAT = CHARFORMATW
     56#else
     57TypeDef CHARFORMAT = CHARFORMATA
     58#endif
    4459
    4560'CHARFORMAT2 struct
     
    85100Const CFU_UNDERLINENONE =   0
    86101
    87 Type CHARFORMAT2
     102Type CHARFORMAT2W
    88103    cbSize As DWord
    89104    dwMask As DWord
     
    94109    bCharSet As Byte
    95110    bPitchAndFamily As Byte
    96     szFaceName[ELM(LF_FACESIZE)] As Byte
     111    szFaceName[ELM(LF_FACESIZE)] As WCHAR
    97112    wWeight As Word
    98113    sSpacing As Integer
     
    107122    bReserved1 As Byte
    108123End Type
     124Type CHARFORMAT2A
     125    cbSize As DWord
     126    dwMask As DWord
     127    dwEffects As DWord
     128    yHeight As Long
     129    yOffset As Long
     130    crTextColor As DWord
     131    bCharSet As Byte
     132    bPitchAndFamily As Byte
     133    szFaceName[ELM(LF_FACESIZE)] As SByte
     134    wWeight As Word
     135    sSpacing As Integer
     136    crBackColor As DWord
     137    lcid As DWord
     138    dwReserved As DWord
     139    sStyle As Integer
     140    wKerning As Word
     141    bUnderlineType As Byte
     142    bAnimation As Byte
     143    bRevAuthor As Byte
     144    bReserved1 As Byte
     145End Type
     146#ifdef UNICODE
     147TypeDef CHARFORMAT2 = CHARFORMAT2W
     148#else
     149TypeDef CHARFORMAT2 = CHARFORMAT2A
     150#endif
    109151
    110152
Note: See TracChangeset for help on using the changeset viewer.