资 源 简 介
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