码迷,mamicode.com
首页 > 其他好文 > 详细

注册表

时间:2017-09-16 11:43:56      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:res   security   option   pre   reg   red   路径   api   psu   

1、HKEY代表的是注册表。

LONG WINAPI RegCreateKeyEx(
  _In_       HKEY                  hKey,      //父键句柄,五个父键
  _In_       LPCTSTR               lpSubKey,    //相对路径
  _Reserved_ DWORD                 Reserved,    //null
  _In_opt_   LPTSTR                lpClass,     //null
  _In_       DWORD                 dwOptions,    //
  _In_       REGSAM                samDesired,
  _In_opt_   LPSECURITY_ATTRIBUTES lpSecurityAttributes,
  _Out_      PHKEY                 phkResult,
  _Out_opt_  LPDWORD               lpdwDisposition
);
LONG WINAPI RegSetKeyValue(
  _In_     HKEY    hKey,
  _In_opt_ LPCTSTR lpSubKey,
  _In_opt_ LPCTSTR lpValueName,
  _In_     DWORD   dwType,
  _In_opt_ LPCVOID lpData,
  _In_     DWORD   cbData
);

 


 

注册表

标签:res   security   option   pre   reg   red   路径   api   psu   

原文地址:http://www.cnblogs.com/xiaohaige/p/7529327.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!