MCPcopy Create free account
hub / github.com/bwapi/bwapi / Write

Method Write

bwapi/BWAPI_PluginInjector/valloc.cpp:14–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14bool VAlloc::Write(LPCVOID lpBuffer, SIZE_T nSize)
15{
16 SIZE_T written;
17 BOOL result = WriteProcessMemory(this->hTargetProcess, this->pAddress, lpBuffer, nSize, &written);
18 return result == TRUE && nSize == written;
19}
20
21LPVOID VAlloc::GetAddress() const
22{

Callers 4

ImageClass · 0.80
SpriteClass · 0.80
UnitClass · 0.80
ApplyPatchSuspendedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected