WriteRegData

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function is called by the OS to transfer registry data as defined by the OEM to persistent storage.


BOOL WriteRegData( 
  DWORD dwFlags, 
  LPBYTE lpBuf, 
  DWORD len 
);

dwFlags

[in] Read options specified by the OS. Currently, the only possible value is REG_WRITE_BYTES_START, which indicates the start of the new registry file.

lpBuf

[in] Pointer to a buffer allocated by the OS and filled with registry data. This function retrieves the data and saves it to persistent storage.

len

[in] Number of bytes in the lpBuf buffer passed in by the OS. When set to zero, the end of the file has been reached.

TRUE indicates success. FALSE indicates failure.

Headerpwinreg.h
Librarycoredll.lib
Windows Embedded CEWindows CE .NET 4.2 and later
Windows MobileWindows Mobile Version 5.0 and later

Reference

Registry Functions

Other Resources


Community Additions

Show: