Elaztek Developer Hub
Blamite Game Engine - Strings  00402.09.29.23.0627.blamite
A library containing general purpose utilities and classes for use in multiple projects.
res.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Windows.h>
4 #include <string>
5 
6 #ifdef STRINGS_EXPORTS
7 #define STRINGS_API __declspec(dllexport)
8 #else
9 #define STRINGS_API __declspec(dllimport)
10 #endif
11 
16 {
17  int id;
19  DWORD size;
20 };
21 
26 {
35  //STRINGS_API std::string GetTextResource(HMODULE module_handle, int res_id, const char* res_type);
36 
44  //STRINGS_API std::string GetHTMLResource(HMODULE module_handle, int res_id);
45 
56  //STRINGS_API HRESULT GetResource(HMODULE module_handle, int res_id, const char* res_type, BlamWin32ResourceData* res);
57 }
BlamStrings::Utils::Res
Utilities relating to application resources.
Definition: res.h:25
string.h
BlamWin32ResourceData::size
DWORD size
Size of the resource data.
Definition: res.h:19
BlamWin32ResourceData
Structure to bundle together resource data.
Definition: res.h:15
res.h
BlamWin32ResourceData::id
int id
The ID of the resource.
Definition: res.h:17
BlamWin32ResourceData::resource_pointer
void * resource_pointer
Address of the resource data.
Definition: res.h:18