#ifndef SCREENCAPTURE_H #define SCREENCAPTURE_H #pragma once #include #ifdef RVC_OS_LINUX typedef struct tagRECT { LONG left; LONG top; LONG right; LONG bottom; } RECT, * PRECT, NEAR* NPRECT, FAR* LPRECT; int getScreenSize(int* width, int* height); #endif // RVC_OS_LINUX // if lprc == null, then full screen // zero on success, -1 on failed int screencapture_capture(RECT *lprc, void *buf, int *size); int screencapture_clipoff(int width, int height, void *buf, int n_rc, RECT *rcs); #endif // SCREENCAPTURE_H