文件名称:peformatvisefile
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 75.71kb
- 下载次数:
- 0次
- 提 供 者:
- r**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
pe文件格式.vc.net
BOOL CpefileDlg::IsPEFile(LPVOID ImageBase)
{
PIMAGE_DOS_HEADER pDH=NULL
PIMAGE_NT_HEADERS pNtH=NULL
if(!ImageBase)
return FALSE
pDH=(PIMAGE_DOS_HEADER)ImageBase
if(pDH->e_magic!=IMAGE_DOS_SIGNATURE)
return FALSE
pNtH=(PIMAGE_NT_HEADERS32)((DWORD)pDH+pDH->e_lfanew)
if (pNtH->Signature != IMAGE_NT_SIGNATURE )
return FALSE
return TRUE
}-pe file formats. Vc.net BOOL CpefileDlg : : IsPEFile (LPVOID ImageBase) (PIMAGE_DOS_HEADER bacteria PIMAGE_NT_HEADERS pNtH = NULL = NULL if (! ImageBase) return FALSE mapping = (PIMAGE_DOS_HEADER) ImageBase if (Endo-gt; e_magic! = IMAGE_DOS_SIGNATURE) return FALSE pNtH = (PIMAGE_NT_HEADERS32) ((DWORD) recombinant plasmid-gt; e_lfanew) if (pNtH - gt; Signature! = IMAGE_NT_SIGNATURE) return FALSE return TRUE)
BOOL CpefileDlg::IsPEFile(LPVOID ImageBase)
{
PIMAGE_DOS_HEADER pDH=NULL
PIMAGE_NT_HEADERS pNtH=NULL
if(!ImageBase)
return FALSE
pDH=(PIMAGE_DOS_HEADER)ImageBase
if(pDH->e_magic!=IMAGE_DOS_SIGNATURE)
return FALSE
pNtH=(PIMAGE_NT_HEADERS32)((DWORD)pDH+pDH->e_lfanew)
if (pNtH->Signature != IMAGE_NT_SIGNATURE )
return FALSE
return TRUE
}-pe file formats. Vc.net BOOL CpefileDlg : : IsPEFile (LPVOID ImageBase) (PIMAGE_DOS_HEADER bacteria PIMAGE_NT_HEADERS pNtH = NULL = NULL if (! ImageBase) return FALSE mapping = (PIMAGE_DOS_HEADER) ImageBase if (Endo-gt; e_magic! = IMAGE_DOS_SIGNATURE) return FALSE pNtH = (PIMAGE_NT_HEADERS32) ((DWORD) recombinant plasmid-gt; e_lfanew) if (pNtH - gt; Signature! = IMAGE_NT_SIGNATURE) return FALSE return TRUE)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 117143190peformatvisefile.rar 列表 pefile\pefile.ncb pefile\pefile.sln pefile\pefile.suo pefile\pefile\pefile.vcproj pefile\pefile\ReadMe.txt pefile\pefile\pefile.h pefile\pefile\pefile.cpp pefile\pefile\pefileDlg.h pefile\pefile\pefileDlg.cpp pefile\pefile\stdafx.h pefile\pefile\stdafx.cpp pefile\pefile\CDataDir.h pefile\pefile\pe.h pefile\pefile\pe.cpp pefile\pefile\SecDlg.h pefile\pefile\SecDlg.cpp pefile\pefile\CDataDir.cpp pefile\pefile\Import.h pefile\pefile\Import.cpp pefile\pefile\res\pefile.rc2 pefile\pefile\res\pefile.manifest pefile\pefile\res\pefile.ico pefile\pefile\res pefile\pefile\pefile.rc pefile\pefile\Resource.h pefile\pefile\pefile.aps pefile\pefile\Export.h pefile\pefile\Export.cpp pefile\pefile pefile