CeSvcGetBinary

Reads a binary value from a registry subkey and copies the data into a buffer. This is part of CEUTIL, a utility dll for dealing with desktop registry entries for Windows CE.

Syntax

HRESULT CeSvcGetBinary(
    HCESVC
hSvc,
    
LPCTSTR pszValName,
    
LPBYTE lpData,
    
LPDWORD pcbVal
);

Parameters

hSvc
Handle to a registry subkey.
pszValName
Name of value.
lpData
Address of buffer for read data.
pcbVal
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 value

HRESULT
Standard Win32 error code.