winreplace.cpp File Reference

Windows function calls rewritten for Linux. More...

#include "winreplace.h"

Include dependency graph for winreplace.cpp:


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)

Detailed Description

Windows function calls rewritten for Linux.


Define Documentation

#define USE_SCANDIR


Function Documentation

int _findclose ( long  handle  ) 

Here is the caller graph for this function:

long _findfirst ( const char *  pattern,
_finddata_t findData 
)

Here is the caller graph for this function:

long _findnext ( long  handle,
_finddata_t findData 
)

Here is the caller graph for this function:

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)

Parameters:
hModule hModule (ignored)
name name of the resource (as int)
type type of the resource
Returns:
returns a handle

Here is the call graph for this function:

Here is the caller graph for this function:

int GetObject ( HBITMAP  hBitmap,
int  ignored,
LPVOID lpvObject 
)

adapted version of GetObject for our purposes. replaced 2nd param

Parameters:
hBitmap the resource id to the desired bitmap
ignored 
lpvObject pointer to data
Returns:
returns size of bitmap

Here is the call graph for this function:

Here is the caller graph for this function:

HGLOBAL LoadResource ( HMODULE  hModule,
HRSRC  hResource 
)

clone of LoadResource

Parameters:
hModule hModule (ignored)
hResource resource handler returned by FindResource
Returns:
global handle to the resource

Here is the caller graph for this function:

LPVOID LockResource ( HGLOBAL  hGlobal  ) 

clone of LockResource

Parameters:
hGlobal handle obtained by LoadResource
Returns:
pointer to the demanded resource

Here is the caller graph for this function:

bool NtQueryPerformanceCounter ( PLARGE_INTEGER  Counter,
PLARGE_INTEGER  Frequency 
)

Here is the caller graph for this function:

bool QueryPerformanceCounter ( PLARGE_INTEGER  counter  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

bool QueryPerformanceFrequency ( PLARGE_INTEGER  frequency  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

DWORD SizeofResource ( HMODULE  hModule,
HRSRC  hResource 
)

clone of SizeofResource (determine data length of a certain res)

Parameters:
hModule hModule (ignored)
hResource resource handle
Returns:
size of data buffer

Here is the caller graph for this function:


Generated on Sat Oct 18 12:26:39 2008 for Bombermaaan by  doxygen 1.5.5
Visit the Bombermaaan project page
SourceForge.net Logo