CWinAppEx::GetBinary
Visual Studio 2012
Reads binary data from a specified registry key.
BOOL GetBinary( LPCTSTR lpszEntry, LPBYTE* ppData, UINT* pBytes );
This method reads binary data written to the registry. To write data to the registry, use the methods CWinAppEx::WriteBinary and CWinAppEx::WriteSectionBinary.
The lpszEntry parameter is the name of a registry entry located under the default registry key for your application. To get or set the default registry key, use the methods CWinAppEx::GetRegistryBase and CWinAppEx::SetRegistryBase respectively.