AppleWin/source/linux/windows/resources.h
Andrea Odetti 7529f5c659 Reworked the entire wondows.h replacement.
wincompat.h is a stripped down version coming from linapple-pie with the bare minimum common types.
Each group of functions in its own file.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-23 18:17:44 +00:00

25 lines
510 B
C++

#pragma once
#include "linux/windows/wincompat.h"
#include "linux/windows/handles.h"
#include <string>
#include <vector>
struct HRSRC : public CHANDLE
{
std::vector<char> data;
HRSRC(const void * = NULL)
{
}
operator const void * () const
{
return data.data();
}
};
std::string MAKEINTRESOURCE(int x);
HRSRC FindResource(void *, const std::string & filename, const char *);
DWORD SizeofResource(void *, const HRSRC &);
HGLOBAL LoadResource(void *, HRSRC &);
BYTE * LockResource(HGLOBAL);