mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
22 lines
381 B
C
22 lines
381 B
C
#pragma once
|
|
#ifndef SCREENGRAB_H
|
|
#define SCREENGRAB_H
|
|
|
|
#include "../base/types.h"
|
|
#include "../base/MMBitmap_init.h"
|
|
|
|
#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(MMRect rect);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* SCREENGRAB_H */
|