mirror of
https://github.com/stascorp/rdpwrap.git
synced 2024-11-27 16:07:23 +00:00
Update RDPWrap.cpp
This commit is contained in:
parent
e1b4b10006
commit
06eb0a325e
@ -87,11 +87,14 @@ HMODULE GetCurrentModule()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Correct this
|
// Correct this
|
||||||
|
// TODO: Add *wchar_t argument, size argument. Write ExtractFilePath function
|
||||||
|
// Variable "Filename" will be deleted after you exit the function.
|
||||||
|
// Stas => vk.com/im
|
||||||
LPCWSTR GetBinaryPath()
|
LPCWSTR GetBinaryPath()
|
||||||
{
|
{
|
||||||
wchar_t Filename[256];
|
wchar_t Filename[256];
|
||||||
GetModuleFileName(GetCurrentModule(), &Filename[0], 256);
|
GetModuleFileName(GetCurrentModule(), Filename, 256);
|
||||||
return &Filename[0];
|
return Filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*PLATFORM_DWORD SearchAddressBySignature(char *StartPosition, PLATFORM_DWORD Size, char *Signature, int SignatureSize)
|
/*PLATFORM_DWORD SearchAddressBySignature(char *StartPosition, PLATFORM_DWORD Size, char *Signature, int SignatureSize)
|
||||||
|
Loading…
Reference in New Issue
Block a user