摘要:
int EnumFontFamiliesEx( HDC hdc, // handle to DC LPLOGFONT lpLogfont, // font information FONTENUMPROC lpEnumFontFamExProc, // callback function LPARAM lParam, // additional data DWORD dwFlags // not used; must be 0);C... 阅读全文
posted @ 2012-01-13 14:49
獨孤劒
阅读(3829)
评论(0)
推荐(1)
摘要:
三个给进程提权的方法方法一:C/C++ codebool EnableDebugPrivilege() { HANDLE hToken; LUID sedebugnameValue; TOKEN_PRIVILEGES tkp; if (!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken)) { return FALSE; } if (!LookupPrivilegeVal... 阅读全文
posted @ 2012-01-13 11:31
獨孤劒
阅读(8328)
评论(0)
推荐(2)