MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / AllocAnsiString

Method AllocAnsiString

Kernel-Bridge/API/MemoryUtils.cpp:295–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293
294 _IRQL_requires_max_(APC_LEVEL)
295 LPSTR HeapObject::AllocAnsiString(SIZE_T Characters) const {
296 return static_cast<LPSTR>(AllocHeap(HeapHandle, (Characters + 1) * sizeof(CHAR)));
297 }
298
299 _IRQL_requires_max_(APC_LEVEL)
300 LPWSTR HeapObject::AllocWideString(SIZE_T Characters) const {

Callers

nothing calls this directly

Calls 1

AllocHeapFunction · 0.85

Tested by

no test coverage detected