robotgo/screen/screengrab.h

22 lines
383 B
C
Raw Permalink Normal View History

2016-10-06 10:41:37 +00:00
#pragma once
#ifndef SCREENGRAB_H
#define SCREENGRAB_H
#include "../base/types.h"
2016-11-17 08:00:00 +00:00
#include "../base/MMBitmap_c.h"
2016-10-06 10:41:37 +00:00
#ifdef __cplusplus
extern "C"
{
#endif
/* Returns a raw bitmap of screengrab of the display (to be destroyed()'d by
* caller), or NULL on error. */
MMBitmapRef copyMMBitmapFromDisplayInRect(MMRectInt32 rect);
2016-10-06 10:41:37 +00:00
#ifdef __cplusplus
}
#endif
#endif /* SCREENGRAB_H */