头文件:
【程序编程相关:Winsock程序设计入门(1)】
////////////////////////////////////////hideprocess.hbool hideprocess(); 【推荐阅读:在使用浏览器控件的程序中判断HTTP错误】
#include"hideprocess.h" 【扩展信息:CPathDialog 类学习方法】
cpp源文件:///////////////////////////////////////////////////////////////////////////////hideprocess.cpp#include<windows.h>#include<accctrl.h>#include<aclapi.h>
#define nt_success(status)((ntstatus)(status) >= 0)#define status_info_length_mismatch ((ntstatus)0xc0000004l)#define status_access_denied ((ntstatus)0xc0000022l)
typedef long ntstatus;
typedef struct _io_status_block { ntstatus status; ulong information;} io_status_block, *pio_status_block;
typedef struct _unicode_string { ushort length; ushort maximumlength; pwstr buffer;} unicode_string, *punicode_string;
... 下一页