int CBCGPWorkspace::GetSectionInt | ( | LPCTSTR | lpszSubSection, |
LPCTSTR | lpszEntry, | ||
int | nDefault = 0 |
||
) |
Retrieves the numeric data for a specified value field of a specified key.
The function queries the specified by lpszEntry registry value field and returns a numerical value from this field or the value specified by nDefault parameter.
lpszSubSection | Specifies a relative path to the application data key. |
lpszEntry | Specifies the value field to read from. |
nDefault | Specifies the default value to be returned if the specified value field does not exist. |