Get global sizes from the kernel @return The various sizes of data stored in the kernel. */
| 393 | @return The various sizes of data stored in the kernel. |
| 394 | */ |
| 395 | GLOBAL_SIZES |
| 396 | IOCTLCommunication::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. |
no test coverage detected