This function points to the WriteRegistryToOEM function, if defined.
This function is implemented by OEMs.
BOOL(*pWriteRegistryToOEM)(DWORDdwFlags,LPBYTESlpData,DWORDcbData);
Parameters
- dwFlags 
 [in] Read options specified by the system.- Currently, the only flag is REG_WRITE_BYTES_START, which indicates the start of the new registry file. 
- lpData 
 [in] Pointer to a buffer allocated by the OS and filled with registry bytes.- The WriteRegistryToOEM function retrieves the bytes and saves them in persistent storage. 
- cbData 
 [in] Number of bytes in the buffer lpData passed in by the OS.- When set to zero, the end of file has been reached. 
Return Values
If this function succeeds, it returns TRUE.
If this function fails, it returns FALSE.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Not applicable.
Link Library: Coredll.lib.
See Also
pReadRegistryFromOEM | WriteRegistryToOEM
Send Feedback on this topic to the authors