BOOL CBCGPWorkspace::GetSectionBinary | ( | LPCTSTR | lpszSubSection, |
LPCTSTR | lpszEntry, | ||
LPBYTE * | ppData, | ||
UINT * | pBytes | ||
) |
Retrieves the binary data for a specified value field of a specified key.
The GetSectionBinary function retrieves the binary data associated with the lpszEntry value of a registry key specified by lpszSubSection. Use WriteSectionBinary() or WriteBinary() to save the data.
lpszSubSection | Specifies a relative path to the application data key. |
lpszEntry | Specifies the value field to read from. |
ppData | Pointer to a buffer that receives the data. |
pBytes | Points to a variable that specifies the size, in bytes, of the buffer pointed by ppData parameter. When the function returns, the value contains the size of the data copied to ppData. |