RegHandler.h
上传用户:cydong117
上传日期:2009-11-10
资源大小:638k
文件大小:1k
- // ****************************************************************************
- //
- // Registry Handler
- //
- // All written by Jeong, Euy-heon
- // Copyright(C) 1997, 1998 Euy-heon, Jeong. All right reserved.
- //
- // ****************************************************************************
- #include "stdafx.h"
- BOOL jRegSetKey(LPCTSTR pSubKeyName, LPCTSTR pValueName, DWORD dwFlags,
- LPBYTE pValue, DWORD nValueSize);
- BOOL jRegGetKey(LPCTSTR pSubKeyName, LPCTSTR pValueName, LPBYTE pValue);
- LONG jRegEnumKey(LPCTSTR pSubKeyName, int nIndex, LPTSTR lpSubKey, int nSubkeyLen);
- /*
- #define _LOGINGATE_SERVER_REGISTRY _T("Software\LegendOfMir\LoginGate")
- jRegGetKey(_LOGINGATE_SERVER_REGISTRY, _T("RemoteIP"), (LPBYTE)&dwIP);
- jRegSetKey(_LOGINGATE_SERVER_REGISTRY, _T("RemoteIP"), REG_DWORD, (LPBYTE)&dwIP, sizeof(DWORD));
- */