Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//=--------------------------------------------------------------------------=
// (C) Copyright 1997-1998 Microsoft Corporation. All Rights Reserved.
// TriEdit SDK team
// Author: Yury Polyakovsky
// contact: [email protected]
//=--------------------------------------------------------------------------=
class CRefCount { public: CRefCount() {m_dwRefCount = 1;} void SetInstalFlag(BOOL flag) {m_fInstall = flag;} void Change(char *szName, PHKEY phkRef); BOOL ValueExist(char *sz_RegSubkey, char *sz_RegValue); void ValueGet(char *sz_RegSubkey, char *sz_ValueName, LPBYTE *p_Value, DWORD *pdwValueSize); void ValueSet(char *sz_RegSubkey, char *sz_RegValue); void ValueClear(char *sz_RegSubkey, char *sz_RegValue); DWORD GetCount() { return m_dwRefCount;} private: BOOL m_fInstall; DWORD m_dwRefCount; };
|