regini.h
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. /////////////////////////////////////////////////////////////////////////////
  2. // REGINI.H
  3. //
  4. // Registry helper functions declaration
  5. //
  6. // History:
  7. //
  8. // Author   Date        Description
  9. // ------   ----        -----------
  10. // jaym     09/18/96    Adapted from ccteng's source
  11. // jaym     04/29/97    Cleanup and simplification
  12. /////////////////////////////////////////////////////////////////////////////
  13. #ifndef __REGINI_H__
  14. #define __REGINI_H__
  15. DWORD ReadRegValue(HKEY hKeyRoot, LPCTSTR lpszSubKey, LPCTSTR lpszValue, BYTE * pbReturn, DWORD * lpdwReturnSize);
  16. DWORD ReadRegString(HKEY hKeyRoot, LPCTSTR lpszSection, LPCTSTR lpszKey, LPTSTR lpszDefault, LPTSTR lpszReturn, DWORD cchReturnSize);
  17. DWORD ReadRegDWORD(HKEY hKeyRoot, LPCTSTR lpszSection, LPCTSTR lpszKey, DWORD dwDefault);
  18. BOOL WriteRegValue(HKEY hKeyRoot, LPCTSTR lpszSubKey, LPCTSTR lpszValue, DWORD dwValueType, BYTE * lpValue, DWORD dwSize);
  19. #endif  //__REGINI_H