nmreghelp.h
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Development Platform:

C/C++

  1. //=============================================================================
  2. //  Microsoft (R) Network Monitor (tm). 
  3. //  Copyright (C) 1991-1999. All rights reserved.
  4. //
  5. //  MODULE: NMRegHelp.h
  6. //
  7. //  Prototypes of Registry helper functions
  8. //=============================================================================
  9. #ifndef NMREGHELP_H
  10. #define NMREGHELP_H
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. // Registry helpers
  15. LPCSTR _cdecl FindOneOf(LPCSTR p1, LPCSTR p2);
  16. LONG _cdecl recursiveDeleteKey(HKEY hKeyParent,            // Parent of key to delete.
  17.                         const char* lpszKeyChild);  // Key to delete.
  18. BOOL _cdecl SubkeyExists(const char* pszPath,              // Path of key to check
  19.                   const char* szSubkey);            // Key to check
  20. BOOL _cdecl setKeyAndValue(const char* szKey, 
  21.                     const char* szSubkey, 
  22.                     const char* szValue,
  23.                     const char* szName) ;
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif // NMREGHELP_H