pWriteRegistryToOEM (Windows Embedded CE 6.0)

1/5/2010

This functionpoints to the WriteRegistryToOEM function, if defined.

This function is implemented by OEMs.

Syntax

BOOL (*pWriteRegistryToOEM)(
  DWORD dwFlags, 
  LPBYTES lpData, 
  DWORD cbData
);

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 Value

If this function succeeds, it returns TRUE.

If this function fails, it returns FALSE.

Requirements

Header Developer Implemented
Library coredll.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Optional OAL Functions
pReadRegistryFromOEM
WriteRegistryToOEM