mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
24 lines
582 B
C
24 lines
582 B
C
![]() |
/* Written by Krzysztof Kowalczyk (http://blog.kowalczyk.info)
|
||
|
The author disclaims copyright to this source code. */
|
||
|
#ifndef WIN_IMAGE_H__
|
||
|
#define WIN_IMAGE_H__
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
typedef struct win_image win_image;
|
||
|
|
||
|
win_image * win_image_from_file(const TCHAR *file_path);
|
||
|
win_image * win_image_from_buffer(void *buf, UINT buf_size);
|
||
|
win_image * win_image_from_resource(HMODULE hinst, int resource_id);
|
||
|
void win_image_delete(win_image *img);
|
||
|
void win_image_blit_at(win_image *img, HDC dc, int x, int y);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|