Reads a DWORD value from a registry key and copies the data into a buffer. This is part of CEUTIL, a utility dll for dealing with desktop registry entries for Windows CE.
HRESULT CeSvcGetDword(
HCESVC hSvc,
LPCTSTR pszValName,
LPDWORD pdwVal
);