win7 64位上:CreateToolhelp32Snapshot是不是不能用了

win7 64位下:CreateToolhelp32Snapshot是不是不能用了?
#include "stdafx.h"
#include <Windows.h>
#include <TlHelp32.h>

int _tmain(int argc, _TCHAR* argv[])
{
PROCESSENTRY32 pe32;
//设置大小
pe32.dwSize=sizeof(pe32);
//拍摄系统进程快照
HANDLE hProcessSnap=::CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS,0);
if(hProcessSnap==INVALID_HANDLE_VALUE)
{
printf("调用失败!\n");
return -1;
}
//遍历快照
BOOL bMORE=::Process32First(hProcessSnap,&pe32);
while(bMORE)
{
printf("进程名:%s\n",pe32.szExeFile);
printf("进程ID:%s\n",pe32.th32ProcessID);
bMORE=::Process32Next(hProcessSnap,&pe32);

     }
CloseHandle(hProcessSnap);
return 0;
}

------解决方案--------------------
http://blog.csdn.net/anycell/article/details/3505864你可以参考下这篇文章~