请英语达人或者编程达人帮忙翻译一段注释

来源:百度知道 编辑:UC知道 时间:2024/06/30 22:57:16
编程达人就不用多说了,请帮忙翻译一下吧……
英语达人请帮忙翻译每一个从“/*”到“ */”中间的内容
谢谢了!拜托!
/*
How add your application to startup!
Author: K1u
Site: k0h.org & k1u.org
Disclaimer: I am not responsible for how you use this.

This is purely for educational purposes.
BTW: If you wish to use this in your application give me a shout.
*/
#include <windows.h>

int main(void)

{
/* Grab filename of process/exe using GetModuleFileName() function. */
TCHAR szPath[MAX_PATH];

GetModuleFileName(NULL,
szPath,
MAX_PATH);

/* Create a New HKEY. */
HKEY newValue;

/* Open Registry key. */

RegOpenKey(HKEY_LOCAL_MACHINE,
"Software\\Microsoft\\Windows\\CurrentVersion\\Run",

&newValue);

/* Note use HKEY_CURRENT_USER\

有问题再hi我

/*
How add your application to startup!
把你的程序添加到开机启动项的方法
Author: K1u
作者:K1u
Site: k0h.org & k1u.org
网站:k0h.org & k1u.org
Disclaimer: I am not responsible for how you use this.
声明:我对你怎么使用这个程序不负责
This is purely for educational purposes.
这单纯的只是教育目的
BTW: If you wish to use this in your application give me a shout.
另:如果要用在你的程序里,跟我打声招呼
*/
#include <windows.h>

int main(void)

{
/* Grab filename of process/exe using GetModuleFileName() function.
获取exe或进程文件名用GetModuleFileName()函数*/
TCHAR szPath[MAX_PATH];

GetModuleFileName(NULL,
szPath,
MAX_PATH);

/* Create a New HKEY.
创建一个键值*/

HKEY newValue;

/* Open Registry key.
打开注册表中的键*/

RegOpenKey(HKEY_LOCAL_MACHINE,
"Software\\Microsoft\\