pReadRegistryFromOEM (Windows Embedded CE 6.0)
1/5/2010
This function reads a registry file into RAM from persistent storage as defined by the OEM.
Changing this global variable to point to an implementation of the ReadRegistryFromOEM function is optional.
Syntax
DWORD (*pReadRegistryFromOEM)(
DWORD dwFlags,
DWORD lpData,
DWORD cbData
);
Parameters
dwFlags
[in] Read options specified by the OS.REG_READ_BYTES_START indicates reading must start from the beginning of the registry file.
lpData
[in] Pointer to a buffer allocated by the OS.You must load the buffer with registry bytes up to a maximum of cbData.
cbData
[in] Size, in bytes, of the buffer that lpData points to.This value is passed in by the OS.
Return Value
Returns the number of bytes added to lpData.
If 0 is returned, the end of file (EOF) has been reached.
If -1 is returned, your function's read functionality has faulted and the OS should load the default registry.
Requirements
Header | Developer Implemented |
Library | coredll.lib |
Windows Embedded CE | Windows CE 2.10 and later |
See Also
Reference
Required OAL Functions
pWriteRegistryToOEM
ReadRegistryFromOEM