home *** CD-ROM | disk | FTP | other *** search
- ; Registry keys
- macros "HKCU" , "$80000001"
- macros "HKLM" , "$80000002"
-
- ; Registry value types
- macros "REG_SZ" , "$00000002"
- macros "REG_BINARY" , "$00000008"
- macros "REG_DWORD" , "$00000010"
- macros "REG_MULTI_SZ" , "$00000080"
-
- ; Native success/failure codes
- macros "S_OK" , "0"
- macros "E_FAIL" , "$80004005"
-
- ; Registry interface specific success/failure codes
- macros "REGISTRYINTERFACE_S_CORRECTED" , "$00041000"
- macros "REGISTRYINTERFACE_E_NOT_IMPLEMENTED" , "$80041000"
- macros "REGISTRYINTERFACE_E_UNSUPPORTED_DEVICE" , "$80041001"
- macros "REGISTRYINTERFACE_E_UNSUPPORTED_DRIVER" , "$80041002"
- macros "REGISTRYINTERFACE_E_UNSUPPORTED_VALUE" , "$80041003"
- macros "REGISTRYINTERFACE_E_UNSUPPORTED_OS" , "$80041004"
-
- ; OS platform identifiers
- macros "VER_PLATFORM_WIN32_WINDOWS" , "1"
- macros "VER_PLATFORM_WIN32_NT" , "2"
-
- ; Registry interface modes
- macros "RIMODE_PROPERTY_GET" , "0"
- macros "RIMODE_PROPERTY_SET" , "1"
- macros "RIMODE_PROPERTY_ENUM" , "2"
-
- ; Registry interface macroses
- macros "ifget" , "ifeqdw %RIMODE%, RIMODE_PROPERTY_GET"
- macros "ifset" , "ifeqdw %RIMODE%, RIMODE_PROPERTY_SET"
- macros "ifenum" , "ifeqdw %RIMODE%, RIMODE_PROPERTY_ENUM"