Changeset 780 for trunk/include/win


Ignore:
Timestamp:
Sep 1, 1999, 9:12:23 PM (26 years ago)
Author:
phaller
Message:

Fix: header file cleanup (win32type.h)

Location:
trunk/include/win
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/shellapi.h

    r183 r780  
    1 /* $Id: shellapi.h,v 1.2 1999-06-24 19:27:48 phaller Exp $ */
     1/* $Id: shellapi.h,v 1.3 1999-09-01 19:12:13 phaller Exp $ */
    22
    33#ifndef _WINE_SHELLAPI_H
     
    1212 */
    1313
    14 typedef struct _DRAGINFOA 
     14typedef struct _DRAGINFOA
    1515{       UINT uSize;
    1616        POINT pt;
     
    2020} DRAGINFOA, * LPDRAGINFOA;
    2121
    22 typedef struct _DRAGINFOW 
     22typedef struct _DRAGINFOW
    2323{       UINT uSize;
    2424        POINT pt;
     
    7979#define ABE_BOTTOM              3
    8080
    81 typedef struct _AppBarData 
     81typedef struct _AppBarData
    8282{       DWORD   cbSize;
    8383        HWND    hWnd;
     
    113113#define SHGFI_ATTR_SPECIFIED    0x000020000     /* get only specified attributes */
    114114
    115 typedef struct tagSHFILEINFOA 
     115typedef struct tagSHFILEINFOA
    116116{       HICON   hIcon;                  /* icon */
    117117        int     iIcon;                  /* icon index */
     
    121121} SHFILEINFOA;
    122122
    123 typedef struct tagSHFILEINFOW 
     123typedef struct tagSHFILEINFOW
    124124{       HICON   hIcon;                  /* icon */
    125125        int     iIcon;                  /* icon index */
     
    147147#define FOF_MULTIDESTFILES         0x0001
    148148#define FOF_CONFIRMMOUSE           0x0002
    149 #define FOF_SILENT                 0x0004 
     149#define FOF_SILENT                 0x0004
    150150#define FOF_RENAMEONCOLLISION      0x0008
    151 #define FOF_NOCONFIRMATION         0x0010 
    152 #define FOF_WANTMAPPINGHANDLE      0x0020 
     151#define FOF_NOCONFIRMATION         0x0010
     152#define FOF_WANTMAPPINGHANDLE      0x0020
    153153#define FOF_ALLOWUNDO              0x0040
    154 #define FOF_FILESONLY              0x0080 
    155 #define FOF_SIMPLEPROGRESS         0x0100 
    156 #define FOF_NOCONFIRMMKDIR         0x0200 
    157 #define FOF_NOERRORUI              0x0400 
     154#define FOF_FILESONLY              0x0080
     155#define FOF_SIMPLEPROGRESS         0x0100
     156#define FOF_NOCONFIRMMKDIR         0x0200
     157#define FOF_NOERRORUI              0x0400
    158158
    159159typedef WORD FILEOP_FLAGS;
    160160
    161 #define PO_DELETE       0x0013 
    162 #define PO_RENAME       0x0014 
    163 #define PO_PORTCHANGE   0x0020 
     161#define PO_DELETE       0x0013
     162#define PO_RENAME       0x0014
     163#define PO_PORTCHANGE   0x0020
    164164
    165165typedef WORD PRINTEROP_FLAGS;
     
    187187} SHFILEOPSTRUCTW, *LPSHFILEOPSTRUCTW;
    188188
    189 DWORD   WIN32API SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp); 
     189DWORD   WIN32API SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp);
    190190DWORD   WIN32API SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp);
    191191
     
    300300HINSTANCE WINAPI FindExecutableW(LPCWSTR,LPCWSTR,LPWSTR);
    301301
    302 BOOL      WINAPI ShellAboutA(HWND,LPCSTR,LPCSTR,HICON);
    303 BOOL      WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON);
     302INT WINAPI ShellAboutA(HWND,LPCSTR,LPCSTR,HICON);
     303INT WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON);
    304304
    305305#pragma pack(4)
  • trunk/include/win/windef.h

    r746 r780  
    1 /* $Id: windef.h,v 1.7 1999-08-30 22:15:20 sandervl Exp $ */
     1/* $Id: windef.h,v 1.8 1999-09-01 19:12:14 phaller Exp $ */
    22
    33/*
     
    178178typedef unsigned short  WCHAR;
    179179typedef unsigned short  BOOL16;
    180 typedef int             BOOL;
     180typedef unsigned long   BOOL;
    181181typedef double          DATE;
    182182typedef long            LONG_PTR;
  • trunk/include/win/wingdi.h

    r619 r780  
    1 /* $Id: wingdi.h,v 1.2 1999-08-22 11:39:38 sandervl Exp $ */
     1/* $Id: wingdi.h,v 1.3 1999-09-01 19:12:14 phaller Exp $ */
    22
    33#ifndef __WINE_WINGDI_H
     
    319319#define COLORONCOLOR         3
    320320#define HALFTONE             4
    321 #define MAXSTRETCHBLTMODE    4 
     321#define MAXSTRETCHBLTMODE    4
    322322
    323323#define STRETCH_ANDSCANS     BLACKONWHITE
     
    425425
    426426typedef struct
    427 { 
     427{
    428428    UINT16     lbStyle;
    429429    COLORREF   lbColor WINE_PACKED;
     
    432432
    433433typedef struct
    434 { 
     434{
    435435    UINT     lbStyle;
    436436    COLORREF   lbColor;
     
    585585 *
    586586 * fsCsb  64-bit bitmap. The low 32 bits map the Windows codepages for
    587  *        which the font provides glyphs. The high 32 bits are for 
     587 *        which the font provides glyphs. The high 32 bits are for
    588588 *        non Windows codepages.
    589589 */
     
    594594} FONTSIGNATURE,*LPFONTSIGNATURE;
    595595
    596 typedef struct 
     596typedef struct
    597597{
    598598  UINT  ciCharset; /* character set */
     
    626626#define OBJ_ENHMETAFILE     13
    627627
    628  
     628
    629629typedef struct
    630630{
     
    637637} XFORM, *LPXFORM;
    638638
    639 typedef struct 
     639typedef struct
    640640{
    641641    INT16  txfHeight;
     
    13761376#define TT_PRIM_LINE    1
    13771377#define TT_PRIM_QSPLINE 2
    1378 #define TT_POLYGON_TYPE 24 
     1378#define TT_POLYGON_TYPE 24
    13791379
    13801380/* Get/SetSystemPaletteUse() values */
     
    13931393
    13941394typedef struct
    1395 { 
     1395{
    13961396    WORD           palVersion;
    13971397    WORD           palNumEntries;
     
    14031403typedef struct
    14041404{
    1405     UINT16   lopnStyle; 
     1405    UINT16   lopnStyle;
    14061406    POINT16  lopnWidth WINE_PACKED;
    14071407    COLORREF lopnColor WINE_PACKED;
     
    14101410typedef struct
    14111411{
    1412     UINT   lopnStyle; 
     1412    UINT   lopnStyle;
    14131413    POINT  lopnWidth WINE_PACKED;
    14141414    COLORREF lopnColor WINE_PACKED;
     
    17881788#define CBM_INIT         4
    17891789
    1790 typedef struct 
     1790typedef struct
    17911791{
    17921792        BITMAP          dsBm;
     
    19641964   ie. the header is just the first record in the metafile */
    19651965typedef struct {
    1966     DWORD iType; 
    1967     DWORD nSize; 
    1968     RECTL rclBounds; 
    1969     RECTL rclFrame; 
    1970     DWORD dSignature; 
    1971     DWORD nVersion; 
    1972     DWORD nBytes; 
    1973     DWORD nRecords; 
    1974     WORD  nHandles; 
    1975     WORD  sReserved; 
    1976     DWORD nDescription; 
    1977     DWORD offDescription; 
    1978     DWORD nPalEntries; 
    1979     SIZEL szlDevice; 
     1966    DWORD iType;
     1967    DWORD nSize;
     1968    RECTL rclBounds;
     1969    RECTL rclFrame;
     1970    DWORD dSignature;
     1971    DWORD nVersion;
     1972    DWORD nBytes;
     1973    DWORD nRecords;
     1974    WORD  nHandles;
     1975    WORD  sReserved;
     1976    DWORD nDescription;
     1977    DWORD offDescription;
     1978    DWORD nPalEntries;
     1979    SIZEL szlDevice;
    19801980    SIZEL szlMillimeters;
    19811981    DWORD cbPixelFormat;
    19821982    DWORD offPixelFormat;
    19831983    DWORD bOpenGL;
    1984 } ENHMETAHEADER, *LPENHMETAHEADER; 
    1985 
    1986 typedef struct {
    1987     DWORD iType; 
    1988     DWORD nSize; 
    1989     DWORD dParm[1]; 
    1990 } ENHMETARECORD, *LPENHMETARECORD; 
     1984} ENHMETAHEADER, *LPENHMETAHEADER;
     1985
     1986typedef struct {
     1987    DWORD iType;
     1988    DWORD nSize;
     1989    DWORD dParm[1];
     1990} ENHMETARECORD, *LPENHMETARECORD;
    19911991
    19921992typedef struct {
     
    22882288    DWORD    offBmiMask;
    22892289    DWORD    cbBmiMask;
    2290     DWORD    offBitsMask; 
     2290    DWORD    offBitsMask;
    22912291    DWORD    cbBitsMask;
    22922292} EMRPLGBLT, *PEMRPLGBLT;
     
    23202320    POINTL aptl[1];
    23212321    BYTE   abTypes[1];
    2322 } EMRPOLYDRAW, *PEMRPOLYDRAW; 
     2322} EMRPOLYDRAW, *PEMRPOLYDRAW;
    23232323
    23242324typedef struct {
     
    25082508} EMRSTRETCHDIBITS, *PEMRSTRETCHDIBITS;
    25092509
    2510 typedef INT (* CALLBACK ENHMFENUMPROC)(HDC, LPHANDLETABLE, 
     2510typedef INT (* CALLBACK ENHMFENUMPROC)(HDC, LPHANDLETABLE,
    25112511                                          LPENHMETARECORD, INT, LPVOID);
    25122512
     
    28442844#define DMTT_SUBDEV             3
    28452845
    2846 typedef struct 
     2846typedef struct
    28472847{
    28482848    INT16    cbSize;
     
    28512851} DOCINFO16, *LPDOCINFO16;
    28522852
    2853 typedef struct 
     2853typedef struct
    28542854{
    28552855    INT    cbSize;
     
    28602860} DOCINFOA, *LPDOCINFOA;
    28612861
    2862 typedef struct 
     2862typedef struct
    28632863{
    28642864    INT    cbSize;
     
    29632963
    29642964BOOL      WINAPI AngleArc(HDC, INT, INT, DWORD, FLOAT, FLOAT);
    2965 BOOL      WINAPI ArcTo(HDC, INT, INT, INT, INT, INT, INT, INT, INT); 
     2965BOOL      WINAPI ArcTo(HDC, INT, INT, INT, INT, INT, INT, INT, INT);
    29662966HENHMETAFILE WINAPI CloseEnhMetaFile(HDC);
    29672967HBRUSH    WINAPI CreateDIBPatternBrushPt(const void*,UINT);
     
    30663066HMETAFILE WINAPI SetMetaFileBitsEx(UINT,const BYTE*);
    30673067BOOL      WINAPI SetWorldTransform(HDC,const XFORM*);
    3068 BOOL      WINAPI TranslateCharsetInfo(LPDWORD,LPCHARSETINFO,DWORD);
     3068UINT      WINAPI TranslateCharsetInfo(LPDWORD,LPCHARSETINFO,DWORD);
    30693069
    30703070/* Declarations for functions that change between Win16 and Win32 */
Note: See TracChangeset for help on using the changeset viewer.