www.pudn.com > ImmKeyLog_src_6_26.rar > RegEdit.h
/* HKEY: HKEY_LOCAL_MACHINE HKEY_CLASSES_ROOT HKEY_CURRENT_USER HKEY_USERS Subkey: "Software\\Microsoft\\Windows\\CurrentVersion\\Run\\" Key: "MyAutoRunProgram" Value: "H:\\Program\\abc.exe" Rights: KEY_READ KEY_WRITE */ #pragma once #include#include /* LPCTSTR QuerrykEY( HKEY hKey, LPCTSTR lpSubHKey, LPCTSTR Key ); BOOL CreateKey( HKEY hKey, LPSTR lpSubHKey, LPCTSTR Name, LPCTSTR Value); BOOL DeleteKey( HKEY hKey, LPCTSTR lpSubHKey, LPCTSTR Key ); */ BOOL AddAutoRun(LPCTSTR DisplayName , LPCTSTR fullPathName); BOOL DeleteAutoRun(LPCTSTR DisplayName);