This function reads a binary value from a registry subkey and copies the data into a buffer.
Syntax
HRESULT CeSvcGetBinary( HCESVC hSvc, LPCTSTR pszValName,
LPBYTE lpData, LPDWORD pcbVal );
Parameters
hSvc
[in] Handle to a registry subkey.
pszValName
[in] Pointer to a null-terminated string that contains the name of the value.
lpData
[in] Long pointer to the buffer for read data.
pcbVal
[in] Pointer to a variable that specifies the size, in bytes, of the buffer pointed to by the lpData parameter. When the function returns, this variable contains the size of the data copied to lpData.
Return Values
HRESULT indicates success. A standard Win32 error code indicates failure.
Remarks
This function is part of CEUTIL, a utility DLL for dealing with desktop registry entries for Windows CE. CEUTIL functions are for use by desktop applications that need to communicate remotely with Windows CE–based devices. These functions are not available to applications running on Windows CE–based devices.