Fix exehead unicode compil warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6048 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
64a0f32e52
commit
f5df185ba2
4 changed files with 56 additions and 17 deletions
|
@ -124,6 +124,18 @@ enum myGetProcAddressFunctions {
|
|||
void * NSISCALL myGetProcAddress(const enum myGetProcAddressFunctions func);
|
||||
void NSISCALL MessageLoop(UINT uCheckedMsg);
|
||||
|
||||
/**
|
||||
* This function is useful for Unicode support. Since the Windows
|
||||
* GetProcAddress function always takes a char*, this function wraps
|
||||
* the windows call and does the appropriate translation when
|
||||
* appropriate.
|
||||
*
|
||||
* @param dllHandle Handle to the DLL loaded by LoadLibraryEx.
|
||||
* @param funcName The name of the function to get the address of.
|
||||
* @return The pointer to the function. Null if failure.
|
||||
*/
|
||||
void * NSISCALL NSISGetProcAddress(HANDLE dllHandle, TCHAR* funcName);
|
||||
|
||||
// Turn a pair of chars into a word
|
||||
// Turn four chars into a dword
|
||||
#ifdef __BIG_ENDIAN__ // Not very likely, but, still...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue