;-------------------------------------------------------------------------------
; mini_win.inc
;  striped down include file for windows 
;  Speeds the build of the CoLib.lib
;
; Copyright (c) 9/28/00  Ernest Murphy
; For educational use only. Any commercial re-use only by written license
;
;
;-------------------------------------------------------------------------------

DOUBLE          TYPEDEF QWORD
BOOL            TYPEDEF DWORD
LONG            TYPEDEF DWORD
HANDLE          TYPEDEF DWORD
WCHAR           TYPEDEF WORD
TCHAR           TYPEDEF WCHAR

GUID    STRUCT
    Data1     dd ?
    Data2     dw ?
    Data3     dw ?
    Data4     db 8 dup(?)
GUID ENDS

 ; CY STRUCT
 ;     struct 
 ;         Lo dd ?
 ;         Hi dd ?
 ;     ENDS
 ;     int64 dq ?
 ; CY ENDS


TRUE                                 equ 1
FALSE                                equ 0
NULL                                 equ 0
MAX_PATH                             equ 260
E_OUTOFMEMORY                        equ 8007000Eh
E_FAIL                               equ 80004005h
CLASS_E_NOAGGREGATION                equ 80040110h
CLASS_E_CLASSNOTAVAILABLE            equ 80040111h
DLL_PROCESS_ATTACH                   equ 1
DLL_PROCESS_DETACH                   equ 0
S_OK                                 equ 0h
S_FALSE                              equ 1h
CP_ACP                               equ 0
ERROR_SUCCESS                        equ 0
DISP_E_BADINDEX                      equ 8002000Bh
DISP_E_UNKNOWNLCID                   equ 8002000Ch
E_NOINTERFACE                        equ 80004002h
E_POINTER                            equ 80004003h
HKEY_CLASSES_ROOT                    equ 80000000h
HKEY_CURRENT_USER                    equ 80000001h
HKEY_LOCAL_MACHINE                   equ 80000002h
HKEY_USERS                           equ 80000003h
HKEY_PERFORMANCE_DATA                equ 80000004h
HKEY_CURRENT_CONFIG                  equ 80000005h
HKEY_DYN_DATA                        equ 80000006h
REG_OPTION_NON_VOLATILE              equ (00000000h)   
REG_SZ                               equ ( 1 )   
REG_DWORD_LITTLE_ENDIAN              equ ( 4 )  
REG_OPTION_NON_VOLATILE              equ (00000000h)
REGDB_E_INVALIDVALUE                 equ 80040153h
STANDARD_RIGHTS_ALL                  equ 1F0000h
SYNCHRONIZE                          equ (00100000h)
READ_CONTROL                         equ 20000h
STANDARD_RIGHTS_READ                 equ READ_CONTROL
STANDARD_RIGHTS_WRITE                equ READ_CONTROL
KEY_QUERY_VALUE                      equ 1h
KEY_SET_VALUE                        equ 2h
KEY_CREATE_SUB_KEY                   equ 4h
KEY_ENUMERATE_SUB_KEYS               equ 8h
KEY_NOTIFY                           equ 10h
KEY_CREATE_LINK                      equ 20h
KEY_READ                             equ STANDARD_RIGHTS_READ OR KEY_QUERY_VALUE OR KEY_ENUMERATE_SUB_KEYS OR KEY_NOTIFY AND NOT SYNCHRONIZE
KEY_WRITE                            equ STANDARD_RIGHTS_WRITE OR KEY_SET_VALUE OR KEY_CREATE_SUB_KEY AND NOT SYNCHRONIZE
KEY_EXECUTE                          equ KEY_READ
; KEY_ALL_ACCESS has been more trouble then it is worth, let's delete it
;KEY_ALL_ACCESS                       equ STANDARD_RIGHTS_ALL OR KEY_QUERY_VALUE OR KEY_SET_VALUE OR KEY_CREATE_SUB_KEY OR KEY_ENUMERATE_SUB_KEYS OR KEY_NOTIFY OR KEY_CREATE_LINK AND NOT SYNCHRONIZE
ERROR_NO_MORE_ITEMS                  equ 259
MB_OK                                equ 0h
LOCALE_USER_DEFAULT                  equ 0400h





