libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
libpeconv
include
peconv
resource_util.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <windows.h>
9
#include "
buffer_util.h
"
10
11
namespace
peconv
{
12
13
const
LPSTR
RT_RCDATA_A
= MAKEINTRESOURCEA(10);
14
22
peconv::ALIGNED_BUF
load_resource_data
(OUT
size_t
&out_size,
const
int
res_id,
const
LPSTR res_type =
RT_RCDATA_A
, HMODULE hInstance =
nullptr
);
23
27
void
free_resource_data
(
peconv::ALIGNED_BUF
buffer);
28
32
HMODULE
get_current_module_handle
();
33
34
};
//namespace peconv
buffer_util.h
Definitions of the used buffer types. Functions for their allocation and deallocation.
peconv
Definition
buffer_util.h:15
peconv::ALIGNED_BUF
PBYTE ALIGNED_BUF
Definition
buffer_util.h:46
peconv::get_current_module_handle
HMODULE get_current_module_handle()
Definition
resource_util.cpp:7
peconv::free_resource_data
void free_resource_data(peconv::ALIGNED_BUF buffer)
Definition
resource_util.cpp:53
peconv::load_resource_data
peconv::ALIGNED_BUF load_resource_data(OUT size_t &out_size, const int res_id, const LPSTR res_type=RT_RCDATA_A, HMODULE hInstance=nullptr)
Definition
resource_util.cpp:17
peconv::RT_RCDATA_A
const LPSTR RT_RCDATA_A
Definition
resource_util.h:13
Generated on Sat Nov 2 2024 22:08:24 for libPeConv by
1.12.0