#include "winreplace.h"
Defines | |
#define | USE_SCANDIR |
Functions | |
long | _findfirst (const char *pattern, _finddata_t *findData) |
long | _findnext (long handle, _finddata_t *findData) |
int | _findclose (long handle) |
bool | NtQueryPerformanceCounter (PLARGE_INTEGER Counter, PLARGE_INTEGER Frequency) |
bool | QueryPerformanceFrequency (PLARGE_INTEGER frequency) |
bool | QueryPerformanceCounter (PLARGE_INTEGER counter) |
int | GetObject (HBITMAP hBitmap, int ignored, LPVOID *lpvObject) |
adapted version of GetObject for our purposes. replaced 2nd param | |
HRSRC | FindResource (HMODULE hModule, int name, LPCSTR type) |
clone of FindResource function in Windows API - inspired by Wine note: the syntax is taken from FindResourceA which calls FindResourceExA (except: name is an int) | |
HGLOBAL | LoadResource (HMODULE hModule, HRSRC hResource) |
clone of LoadResource | |
LPVOID | LockResource (HGLOBAL hGlobal) |
clone of LockResource | |
DWORD | SizeofResource (HMODULE hModule, HRSRC hResource) |
clone of SizeofResource (determine data length of a certain res) |
#define USE_SCANDIR |
int _findclose | ( | long | handle | ) |
long _findfirst | ( | const char * | pattern, | |
_finddata_t * | findData | |||
) |
long _findnext | ( | long | handle, | |
_finddata_t * | findData | |||
) |
clone of FindResource function in Windows API - inspired by Wine note: the syntax is taken from FindResourceA which calls FindResourceExA (except: name is an int)
hModule | hModule (ignored) | |
name | name of the resource (as int) | |
type | type of the resource |
adapted version of GetObject for our purposes. replaced 2nd param
hBitmap | the resource id to the desired bitmap | |
ignored | ||
lpvObject | pointer to data |
HGLOBAL LoadResource | ( | HMODULE | hModule, | |
HRSRC | hResource | |||
) |
clone of LoadResource
hModule | hModule (ignored) | |
hResource | resource handler returned by FindResource |
LPVOID LockResource | ( | HGLOBAL | hGlobal | ) |
clone of LockResource
hGlobal | handle obtained by LoadResource |
bool NtQueryPerformanceCounter | ( | PLARGE_INTEGER | Counter, | |
PLARGE_INTEGER | Frequency | |||
) |
bool QueryPerformanceCounter | ( | PLARGE_INTEGER | counter | ) |
bool QueryPerformanceFrequency | ( | PLARGE_INTEGER | frequency | ) |
clone of SizeofResource (determine data length of a certain res)
hModule | hModule (ignored) | |
hResource | resource handle |