CString CBCGPWorkspace::GetSectionString | ( | LPCTSTR | lpszSubSection, |
LPCTSTR | lpszEntry, | ||
LPCTSTR | lpszDefault = _T("") |
||
) |
Retrieves the string data for a specified value field of a specified key.
Use this function to retrieve the 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 GetSectionString.
lpszSubSection | Specifies a relative path to the application data key. |
lpszEntry | Specifies the value field to read from. |
lpszDefault | Specifies the default value to be returned if the specified value field does not exist. |