MCPcopy Create free account
hub / github.com/D4stiny/PeaceMaker / GetGlobalSizes

Method GetGlobalSizes

PeaceMaker CLI/IOCTLCommunicationUser.cpp:395–411  ·  view source on GitHub ↗

Get global sizes from the kernel @return The various sizes of data stored in the kernel. */

Source from the content-addressed store, hash-verified

393 @return The various sizes of data stored in the kernel.
394*/
395GLOBAL_SIZES
396IOCTLCommunication::GetGlobalSizes (
397 VOID
398 )
399{
400 GLOBAL_SIZES sizes;
401
402 //
403 // Query the driver passing in the size request.
404 //
405 if (this->GenericQueryDriver(IOCTL_GET_GLOBAL_SIZES, NULL, 0, &sizes, sizeof(sizes)) == FALSE)
406 {
407 printf("IOCTLCommunication!GetProcessSizes: Failed to query driver with error code %i.\n", GetLastError());
408 }
409
410 return sizes;
411}
412
413/**
414 Delete a filter.

Callers 1

ThreadUpdateTablesMethod · 0.80

Calls 1

GenericQueryDriverMethod · 0.95

Tested by

no test coverage detected