首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > C++ WIN32 API封装

C++ WIN32 API封装

  • 资源大小:323.13 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 封装

资 源 简 介

Introduction win32 api encapsulation compatiable for _ATL_MIN_CRT winmod class list Quick Example CWinTrustVerifier ``` #include "winmodwintrustverifier.h" ... WinMod::CWinTrustVerifier hVerifier; HRESULT hRetCode = hVerifier.VerifyFileFast(L"c:windowssystem32cmd.exe"); if (FAILED(hRetCode)) wprintf(L"%s ", L"failed to verify trust of cmd.exe"); else wprintf(L"%s ", L"succeeded to verify trust of cmd.exe"); ``` CWinFileFindDepthFirst ``` #include "winmodwinfilefinddepthfirst.h" ... WinMod::CWinFileFindDepthFirst hFileFinder; BOOL bFound = hFileFinder.FindFirstFile(L"c:windowssystem32"); while (bFound) { if (hFileFinder.IsDirectory()) wprintf(L"[dir] %s ", (LPCWSTR)hFileFinder.GetFullPath()); else wprintf(L" %s ", (LPCWSTR)h
VIP VIP
0.177319s