Posted on 2010-06-19 14:59
魔のkyo 阅读(311)
评论(3) 编辑 收藏 引用
转自:http://www.cppblog.com/mybios/archive/2006/11/17/15295.aspx
HWND hWnd = FindWindowEx(GetDesktopWindow(), 0, "Progman", "Program Manager");
hWnd = FindWindowEx(hWnd, 0, "SHELLDLL_DefView", 0);
hWnd = FindWindowEx(hWnd, 0, "SysListView32", "FolderView");
用这样得到的hWnd去CreateDevice就可以渲染到桌面了