Ignore:
Timestamp:
Mar 29, 2000, 5:16:10 PM (25 years ago)
Author:
cbratschi
Message:

fileio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/winconst.h

    r3196 r3268  
    1 /* $Id: winconst.h,v 1.30 2000-03-22 18:47:01 sandervl Exp $ */
     1/* $Id: winconst.h,v 1.31 2000-03-29 15:16:09 cbratschi Exp $ */
    22
    33/*
     
    762762#define ERROR_ALREADY_REGISTERED_W              1242L
    763763#define ERROR_SERVICE_NOT_FOUND_W               1243L
    764 #define ERROR_NOT_AUTHENTICATED_W             1244L
     764#define ERROR_NOT_AUTHENTICATED_W             1244L
    765765#define ERROR_NOT_LOGGED_ON_W                   1245L
    766766#define ERROR_CONTINUE_W                        1246L
     
    10371037
    10381038
    1039 #define PAGE_NOACCESS_W                 0x01
    1040 #define PAGE_READONLY_W                 0x02
    1041 #define PAGE_READWRITE_W                0x04
    1042 #define PAGE_WRITECOPY_W                0x08
    1043 #define PAGE_EXECUTE_W                  0x10
    1044 #define PAGE_EXECUTE_READ_W             0x20
    1045 #define PAGE_EXECUTE_READWRITE_W        0x40
    1046 #define PAGE_EXECUTE_WRITECOPY_W        0x80
    1047 #define PAGE_GUARD_W                    0x100
    1048 #define PAGE_NOCACHE_W                  0x200
    1049 
    1050 #define MEM_COMMIT_W                    0x00001000
    1051 #define MEM_RESERVE_W                   0x00002000
    1052 #define MEM_DECOMMIT_W                  0x00004000
    1053 #define MEM_RELEASE_W                   0x00008000
    1054 #define MEM_FREE_W                      0x00010000
    1055 #define MEM_PRIVATE_W                   0x00020000
    1056 #define MEM_MAPPED_W                    0x00040000
    1057 #define MEM_TOP_DOWN_W                  0x00100000
    1058 
    1059 #define SEC_FILE_W                      0x00800000
    1060 #define SEC_IMAGE_W                     0x01000000
    1061 #define SEC_RESERVE_W                   0x04000000
    1062 #define SEC_COMMIT_W                    0x08000000
    1063 #define SEC_NOCACHE_W                   0x10000000
     1039#define PAGE_NOACCESS_W                 0x01
     1040#define PAGE_READONLY_W                 0x02
     1041#define PAGE_READWRITE_W                0x04
     1042#define PAGE_WRITECOPY_W                0x08
     1043#define PAGE_EXECUTE_W                  0x10
     1044#define PAGE_EXECUTE_READ_W             0x20
     1045#define PAGE_EXECUTE_READWRITE_W        0x40
     1046#define PAGE_EXECUTE_WRITECOPY_W        0x80
     1047#define PAGE_GUARD_W                    0x100
     1048#define PAGE_NOCACHE_W                  0x200
     1049
     1050#define MEM_COMMIT_W                    0x00001000
     1051#define MEM_RESERVE_W                   0x00002000
     1052#define MEM_DECOMMIT_W                  0x00004000
     1053#define MEM_RELEASE_W                   0x00008000
     1054#define MEM_FREE_W                      0x00010000
     1055#define MEM_PRIVATE_W                   0x00020000
     1056#define MEM_MAPPED_W                    0x00040000
     1057#define MEM_TOP_DOWN_W                  0x00100000
     1058
     1059#define SEC_FILE_W                      0x00800000
     1060#define SEC_IMAGE_W                     0x01000000
     1061#define SEC_RESERVE_W                   0x04000000
     1062#define SEC_COMMIT_W                    0x08000000
     1063#define SEC_NOCACHE_W                   0x10000000
    10641064
    10651065#define FILE_MAP_COPY_W                 0x00000001
     
    10681068#define FILE_MAP_ALL_ACCESS_W           0x000f001f
    10691069
    1070 #define SND_SYNC_W              0x0000  /* play synchronously (default) */
    1071 #define SND_ASYNC_W             0x0001  /* play asynchronously */
    1072 #define SND_NODEFAULT_W         0x0002  /* don't use default sound */
    1073 #define SND_MEMORY_W            0x0004  /* lpszSoundName points to a memory file */
    1074 #define SND_LOOP_W              0x0008  /* loop the sound until next sndPlaySound */
    1075 #define SND_NOSTOP_W            0x0010  /* don't stop any currently playing sound */
    1076 
    1077 #define SND_NOWAIT_W            0x00002000L /* don't wait if the driver is busy */
    1078 #define SND_ALIAS_W             0x00010000L /* name is a registry alias */
    1079 #define SND_ALIAS_ID_W          0x00110000L /* alias is a predefined ID */
    1080 #define SND_FILENAME_W          0x00020000L /* name is file name */
    1081 #define SND_RESOURCE_W          0x00040004L /* name is resource name or atom */
    1082 #define SND_PURGE_W             0x00000040L /* purge all sounds */
    1083 #define SND_APPLICATION_W       0x00000080L /* look for application specific association */
     1070#define SND_SYNC_W              0x0000  /* play synchronously (default) */
     1071#define SND_ASYNC_W             0x0001  /* play asynchronously */
     1072#define SND_NODEFAULT_W         0x0002  /* don't use default sound */
     1073#define SND_MEMORY_W            0x0004  /* lpszSoundName points to a memory file */
     1074#define SND_LOOP_W              0x0008  /* loop the sound until next sndPlaySound */
     1075#define SND_NOSTOP_W            0x0010  /* don't stop any currently playing sound */
     1076
     1077#define SND_NOWAIT_W            0x00002000L /* don't wait if the driver is busy */
     1078#define SND_ALIAS_W             0x00010000L /* name is a registry alias */
     1079#define SND_ALIAS_ID_W          0x00110000L /* alias is a predefined ID */
     1080#define SND_FILENAME_W          0x00020000L /* name is file name */
     1081#define SND_RESOURCE_W          0x00040004L /* name is resource name or atom */
     1082#define SND_PURGE_W             0x00000040L /* purge all sounds */
     1083#define SND_APPLICATION_W       0x00000080L /* look for application specific association */
    10841084
    10851085
     
    11041104#define KEY_CREATE_LINK         0x00000020
    11051105
    1106 #define KEY_READ                (STANDARD_RIGHTS_READ|  \
    1107                                  KEY_QUERY_VALUE|       \
    1108                                 KEY_ENUMERATE_SUB_KEYS|\
    1109                                  KEY_NOTIFY             \
    1110                                 )
    1111 #define KEY_WRITE               (STANDARD_RIGHTS_WRITE| \
    1112                                  KEY_SET_VALUE|         \
    1113                                  KEY_CREATE_SUB_KEY     \
    1114                                 )
     1106#define KEY_READ                (STANDARD_RIGHTS_READ|  \
     1107                                 KEY_QUERY_VALUE|       \
     1108                                KEY_ENUMERATE_SUB_KEYS|\
     1109                                 KEY_NOTIFY             \
     1110                                )
     1111#define KEY_WRITE               (STANDARD_RIGHTS_WRITE| \
     1112                                 KEY_SET_VALUE|         \
     1113                                 KEY_CREATE_SUB_KEY     \
     1114                                )
    11151115#define KEY_EXECUTE             KEY_READ
    1116 #define KEY_ALL_ACCESS          (STANDARD_RIGHTS_ALL|   \
    1117                                  KEY_READ|KEY_WRITE|    \
    1118                                  KEY_CREATE_LINK        \
    1119                                 )
     1116#define KEY_ALL_ACCESS          (STANDARD_RIGHTS_ALL|   \
     1117                                 KEY_READ|KEY_WRITE|    \
     1118                                 KEY_CREATE_LINK        \
     1119                                )
    11201120
    11211121#define HKEY_CLASSES_ROOT       ((HKEY) 0x80000000)
     
    13191319#define HEAP_CREATE_ALIGN_16            0x00010000
    13201320#define HEAP_CREATE_ENABLE_TRACING      0x00020000
     1321
     1322/* FindFirstFile */
     1323
     1324#define INVALID_HANDLE_VALUE_W  ((HANDLE) -1)
Note: See TracChangeset for help on using the changeset viewer.