| CString CBCGPWorkspace::GetString | ( | LPCTSTR | lpszEntry, |
| LPCTSTR | lpzDefault = _T("") |
||
| ) |
Retrieves the string data for a specified value field.
Use this function to retrieve a string data from the Windows registry. The string data can be previously written to the Windows registry by the WriteString() or WriteSectionString() function.
Note. Call the SetRegistryBase() function to set a root registry key for all subsequent calls to GetString.
| lpszEntry | Specifies the value field to read from. |
| lpzDefault | Specifies the default value to be returned if the specified value field does not exist. |