SRRF
Flags that restrict the data to be set or returned.
Constant/value | Description |
---|---|
|
Type REG_NONE. |
|
Type REG_SZ. REG_EXPAND_SZ types are automatically converted to REG_SZ unless the SRRF_NOEXPAND flag is specified. |
|
Type REG_EXPAND_SZ. If retrieving a value, you must also get the SRRF_NOEXPAND flag, or SHRegGetValue fails with ERROR_INVALID_PARAMETER. |
|
Type REG_BINARY. |
|
Type REG_DWORD. |
|
Type REG_MULTI_SZ. |
|
Type REG_QWORD. |
|
REG_DWORD and 32-bit REG_BINARY types. This is equivalent to SRRF_RT_REG_BINARY | SRRF_RT_REG_DWORD. If retrieving a value, if the value's binary data is larger than 32 bits, it is not returned. |
|
REG_QWORD and 64-bit REG_BINARY types. This is equivalent to SRRF_RT_REG_BINARY | SRRF_RT_REG_QWORD. If retrieving a value, if the value's binary data is larger than 64 bits, it is not returned. |
|
All types. Set this flag if no other SRRF_RT value is set. |
|
No mode restriction. This is the default value. |
|
Restrict system startup mode to "normal boot". |
|
Restrict system startup mode to "safe mode". |
|
Restrict system startup mode to "safe mode with networking". |
|
Do not automatically expand REG_EXPAND_SZ environment strings. |
|
If retrieving a value, if pvData is not NULL, set the contents of the pvData buffer to all zeros on failure. |
|
When retrieving a value, if the requested key is virtualized, fail with ERROR_FILE_NOT_FOUND. |
These values are defined in Shlwapi.h.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|