home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2006 April / DPPRO0406DVD.ISO / Essentials / Programming / Notepad2 / Source / NP2SRC.ZIP / Appreg.h < prev    next >
Encoding:
Text File  |  2004-06-25  |  1.1 KB  |  42 lines

  1. /******************************************************************************
  2. *
  3. *
  4. * Notepad2
  5. *
  6. * Appreg.h
  7. *   Definitions for registry helper functions
  8. *
  9. * See Readme.txt for more information about this source code.
  10. * Please send me your comments to this work.
  11. *
  12. * Distributed under the terms of the GNU General Public License,
  13. * see License.txt for details.
  14. *
  15. *                                              (c) Florian Balmer 1996-2004
  16. *                                                       textview@bluewin.ch
  17. *                                               http://www.flos-freeware.ch
  18. *
  19. *
  20. ******************************************************************************/
  21.  
  22.  
  23. HKEY RegGetAppKey(LPCSTR);
  24. HKEY RegGetSubKey(HKEY,LPCSTR);
  25. HKEY RegGetKey(LPCSTR);
  26.  
  27. void RegDeleteKeyEx(HKEY,LPCSTR,BOOL*);
  28.  
  29. int  RegGetInt(HKEY,LPCSTR,int);
  30. BOOL RegGetString(HKEY,LPCSTR,LPCSTR,LPSTR,int);
  31.  
  32. void RegSetInt(HKEY,LPCSTR,int);
  33. void RegSetString(HKEY,LPCSTR,LPCSTR);
  34.  
  35. int  RegGetAppIntEx(LPCSTR,LPCSTR,int);
  36. void RegSetAppIntEx(LPCSTR,LPCSTR,int);
  37.  
  38. void UnregisterApp(HINSTANCE);
  39.  
  40.  
  41. // End of Appreg.h
  42.