代码搜索:ZeroMemory
找到约 227 项符合「ZeroMemory」的源代码
代码结果 227
www.eeworm.com/read/270198/11045520
cpp mouseproc.cpp
#include "MouseProc.h"
CMouseProc::CMouseProc()
: m_bState(FALSE)
{
ZeroMemory(&m_nPos, sizeof(m_nPos));
}
CMouseProc::~CMouseProc()
{}
HRESULT CMouseProc::MouseProc(HWND hWnd, UINT nMs
www.eeworm.com/read/107687/15603409
cpp ini.cpp
#include "StdAfx.h"
#include "ini.h"
CIni::CIni ()
{
}
CIni::~CIni ()
{
}
bool CIni::Open (LPCTSTR szIniFile, bool bFullPath)
{
ZeroMemory (m_szIniFile, sizeof (m_szIniFile));
if (!
www.eeworm.com/read/280856/10287420
cpp properties.cpp
#include "StdAfx.h"
#include ".\properties.h"
CProperties::CProperties()
{
m_dwPropertiesID = 0;
m_szDescription = "";
ZeroMemory(&m_tagInfections, sizeof(m_tagInfections));
m_bChoosin
www.eeworm.com/read/280856/10287491
cpp mouse.cpp
#include "StdAfx.h"
#include ".\mouse.h"
CMouse::CMouse(CResourceLib* pResourceLib, tagMouseIconSetting* lpMouseIconSetting)
{
m_wStatus = MOUSE_NORMAL;
m_nShowFlag = 0;
ZeroMemory(m_MouseS
www.eeworm.com/read/147102/12582998
txt 用c编一个使windows关机的程序.txt
用c编一个使windows关机的程序
#include
int main()
{
OSVERSIONINFO stOSVI;
ZeroMemory(&stOSVI , sizeof ( OSVERSIONINFO )) ;
stOSVI.dwOSVersionInfoSize = sizeof ( OSVERSIONINFO ) ;
www.eeworm.com/read/135411/13934963
cpp signrule.cpp
#include
#include "SignRule.h"
/*------------------- RULE 规则类的实现 ----------------*/
RULE::RULE()
{
Left = 0;
ZeroMemory(Right,sizeof(SIGN) * (MAX_RULE_LEN + 1));
}
RULE::RULE
www.eeworm.com/read/135411/13934999
cpp signrule.cpp
#include
#include "SignRule.h"
/*------------------- RULE 规则类的实现 ----------------*/
RULE::RULE()
{
Left = 0;
ZeroMemory(Right,sizeof(SIGN) * (MAX_RULE_LEN + 1));
}
RULE::RULE
www.eeworm.com/read/110030/15543456
bas modcommbas.bas
Attribute VB_Name = "modCommBas"
Option Explicit
Public Declare Sub ZeroMemory Lib "kernel32.dll" Alias "RtlZeroMemory" (Destination As Any, ByVal Length As Long)
Public Declare Sub CopyMemory Li
www.eeworm.com/read/390893/8435390
h strings.h
static void WINAPI fZeroMemory(LPVOID lpMem, DWORD dwSize) // e.q ZeroMemory
{
__asm
{
mov edi,[lpMem]
mov ecx,[dwSize]
xor eax,eax
rep stosb
}
}
static void WINAPI fMemCpy(LPVO
www.eeworm.com/read/169944/9830304
h memory.h
#ifndef _GOS_MEMORY_H_
#define _GOS_MEMORY_H_
#define ZeroMemory(pDest,nLength) FillMemory(pDest,nLength,0)
#define AllocSize(pBlock) (*(PDWORD(pBlock)-1))
#define _msize(pBlock) (pBlock?AllocSi