91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 898KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-06-15
  • 語言: 其他
  • 標(biāo)簽: 屏幕分塊??

資源簡介

把屏幕分成四塊截圖。每次都會(huì)檢測(cè)當(dāng)前截圖與上一課截圖是否變化。通過CRC值來對(duì)比

資源截圖

代碼片段和文件信息

//?Crc32.cpp?:?Defines?the?entry?point?for?the?console?application.
//

#include?“stdafx.h“

#include?“StdAfx.h“
#include?“Crc.h“


CCRC?crc32;

CCRC::CCRC()
{
InitCrc32();
}

CCRC::~CCRC()
{

}

DWORD?CCRC::Reflect(DWORD?dwRef?BYTE?ch)
{
DWORD?value?=?0;
for(int?i?=?1;?i? {
if(dwRef?&?1)
value?|=?1?< dwRef?>>=?1;
}
return?value;
}

void?CCRC::InitCrc32()
{
int?i?j;
for?(i?=?0;?i? {
m_dwCrc32Table[i]?=?Reflect(i?8)?< for?(j?=?0;?j? {
m_dwCrc32Table[i]?=?(m_dwCrc32Table[i]?< }
m_dwCrc32Table[i]?=?Reflect(m_dwCrc32Table[i]?32);
}
}


DWORD?CCRC::GetBufCrc32(LPBYTE?lpBuf?DWORD?dwSize)
{
StartBlock();
if?(AppendBlock(lpBuf?dwSize))
{
return?GetBlockCrc32();
}
else
{
return?CRC32_INVALID_VALUE;
}
}


void?CCRC::StartBlock()
{
m_dwCrc32Block?=?CRC32_INVALID_VALUE;
}

BOOL?CCRC::AppendBlock(LPBYTE?lpBuf?DWORD?dwSize)
{
if?(NULL?==?lpBuf)
{
return?FALSE;
}
DWORD?i;
for?(i=0;?i {
m_dwCrc32Block?=?(m_dwCrc32Block?>>?8)?^?m_dwCrc32Table[(m_dwCrc32Block?&?0xFF)?^?lpBuf[i]];
}
return?TRUE;
}

DWORD?CCRC::GetBlockCrc32()
{
if?(CRC32_INVALID_VALUE?==?m_dwCrc32Block)
{
return?CRC32_INVALID_VALUE;
}
return?(m_dwCrc32Block^CRC32_INVALID_VALUE);
}


DWORD?CCRC::GetFileCrc32(LPCTSTR?szFile)
{
StartBlock();

HANDLE?hFile;
hFile?=?::CreateFile(szFile
GENERIC_READ
0
NULL
OPEN_ALWAYS
FILE_ATTRIBUTE_NORMAL
NULL
);

if?(INVALID_HANDLE_VALUE?!=?hFile)
{
DWORD?dwFileSize;
dwFileSize?=?GetFileSize(hFile?NULL);
if?(dwFileSize?>?0)
{
HANDLE?hFileMapping;
hFileMapping?=?::CreateFileMapping(hFile?NULL PAGE_READONLY?0?0?NULL);
if?(NULL?!=?hFileMapping)
{
LPBYTE?pbFile?=?(PBYTE)::MapViewOfFile(hFileMapping?FILE_MAP_READ?0?0?0);
if?(NULL?!=?hFileMapping)
{
AppendBlock(pbFile?dwFileSize);
::UnmapViewOfFile(pbFile);
}

::CloseHandle(hFileMapping);
}
}

::CloseHandle(hFile);
}
return?GetBlockCrc32();???
}


?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件???????2249??2012-07-19?18:37??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Crc.cpp

?????文件????????766??2012-07-19?18:37??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Crc.h

?????文件???????2234??2014-03-01?12:37??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\cl.command.1.tlog

?????文件??????65866??2014-03-01?12:37??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\CL.read.1.tlog

?????文件???????1676??2014-03-01?12:37??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\CL.write.1.tlog

?????文件??????37581??2014-03-01?10:46??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\Crc.obj

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link-cvtres.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link-cvtres.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link-mt.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link-mt.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link-rc.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link-rc.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.3092-cvtres.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.3092-cvtres.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.3092-mt.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.3092-mt.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.3092-rc.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.3092-rc.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.3092.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.3092.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.404-cvtres.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.404-cvtres.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.404-mt.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.404-mt.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.404-rc.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.404-rc.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.404.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.404.write.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.4376-cvtres.read.1.tlog

?????文件??????????2??2014-03-01?12:32??屏幕實(shí)時(shí)傳輸\屏幕實(shí)時(shí)傳輸\Debug\link.4376-cvtres.write.1.tlog

............此處省略151個(gè)文件信息

評(píng)論

共有 條評(píng)論

相關(guān)資源