Ignore:
Timestamp:
Jun 1, 2000, 1:26:15 PM (25 years ago)
Author:
sandervl
Message:

header updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/winconst.h

    r3622 r3640  
    1 /* $Id: winconst.h,v 1.33 2000-05-28 16:40:23 sandervl Exp $ */
     1/* $Id: winconst.h,v 1.34 2000-06-01 11:26:15 sandervl Exp $ */
    22
    33/*
     
    13501350    #define    NTRT_NEWMENU          (NTRT_MENU|NTRT_NEWRESOURCE)
    13511351    #define    NTRT_NEWDIALOG        (NTRT_DIALOG|NTRT_NEWRESOURCE)
     1352
     1353
     1354/* Device parameters for GetDeviceCaps() */
     1355#define DRIVERVERSION_W     0
     1356#define TECHNOLOGY_W        2
     1357#define HORZSIZE_W          4
     1358#define VERTSIZE_W          6
     1359#define HORZRES_W           8
     1360#define VERTRES_W           10
     1361#define BITSPIXEL_W         12
     1362#define PLANES_W            14
     1363#define NUMBRUSHES_W        16
     1364#define NUMPENS_W           18
     1365#define NUMMARKERS_W        20
     1366#define NUMFONTS_W          22
     1367#define NUMCOLORS_W         24
     1368#define PDEVICESIZE_W       26
     1369#define CURVECAPS_W         28
     1370#define LINECAPS_W          30
     1371#define POLYGONALCAPS_W     32
     1372#define TEXTCAPS_W          34
     1373#define CLIPCAPS_W          36
     1374#define RASTERCAPS_W        38
     1375#define ASPECTX_W           40
     1376#define ASPECTY_W           42
     1377#define ASPECTXY_W          44
     1378#define LOGPIXELSX_W        88
     1379#define LOGPIXELSY_W        90
     1380#define SIZEPALETTE_W       104
     1381#define NUMRESERVED_W       106
     1382#define COLORRES_W          108
     1383#define PHYSICALWIDTH_W     110
     1384#define PHYSICALHEIGHT_W    111
     1385#define PHYSICALOFFSETX_W   112
     1386#define PHYSICALOFFSETY_W   113
     1387#define SCALINGFACTORX_W    114
     1388#define SCALINGFACTORY_W    115
     1389
     1390#define OF_READ_W               0x0000
     1391#define OF_WRITE_W              0x0001
     1392#define OF_READWRITE_W          0x0002
     1393#define OF_SHARE_COMPAT_W       0x0000
     1394#define OF_SHARE_EXCLUSIVE_W    0x0010
     1395#define OF_SHARE_DENY_WRITE_W   0x0020
     1396#define OF_SHARE_DENY_READ_W    0x0030
     1397#define OF_SHARE_DENY_NONE_W    0x0040
     1398#define OF_PARSE_W              0x0100
     1399#define OF_DELETE_W             0x0200
     1400#define OF_VERIFY_W             0x0400   /* Used with OF_REOPEN */
     1401#define OF_SEARCH_W             0x0400   /* Used without OF_REOPEN */
     1402#define OF_CANCEL_W             0x0800
     1403#define OF_CREATE_W             0x1000
     1404#define OF_PROMPT_W             0x2000
     1405#define OF_EXIST_W              0x4000
     1406#define OF_REOPEN_W             0x8000
     1407
     1408#define HFILE_ERROR_W           ((HFILE)-1)
     1409
     1410// LockFileEx flags
     1411
     1412#define LOCKFILE_FAIL_IMMEDIATELY_W   0x00000001
     1413#define LOCKFILE_EXCLUSIVE_LOCK_W     0x00000002
     1414
     1415#define FILE_BEGIN_W              0
     1416#define FILE_CURRENT_W            1
     1417#define FILE_END_W                2
Note: See TracChangeset for help on using the changeset viewer.