This class implements function allowing to operate with resource data.
More...
|
typedef std::vector< unsigned char > | Buffer |
| Definition of a vector holding 8 bit values. More...
|
|
|
static bool | extractResource (const HMODULE module, const unsigned int resourceId, const std::wstring &type, Buffer &buffer) |
| Extracts the specific resource information frosm a given module specified by the id and type of the resource. More...
|
|
This class implements function allowing to operate with resource data.
◆ Buffer
Definition of a vector holding 8 bit values.
◆ extractResource()
static bool Ocean::Platform::Win::Resource::extractResource |
( |
const HMODULE |
module, |
|
|
const unsigned int |
resourceId, |
|
|
const std::wstring & |
type, |
|
|
Buffer & |
buffer |
|
) |
| |
|
static |
Extracts the specific resource information frosm a given module specified by the id and type of the resource.
- Parameters
-
module | The handle of the module from which the resource is requested, nullptr to extract the resource from the module which created the current process |
resourceId | The id of the resource |
type | The type of the resource |
buffer | The resulting resource information |
- Returns
- True, if succeeded
The documentation for this class was generated from the following file: