#pragma once
#include <stdio.h>
#include <Windows.h>
#define MEMSCAN_IMAGE MEM_IMAGE
#define MEMSCAN_MAPPED MEM_MAPPED
#define MEMSCAN_PRIVATE MEM_PRIVATE
int memscan(void *s, size_t n, void *a, int m, int type = MEMSCAN_IMAGE | MEMSCAN_MAPPED | MEMSCAN_PRIVATE, size_t from = 0, size_t to = 0);