Win: Test GetModuleFileNameA
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
parent
b25f6de9e5
commit
034a0ce74f
@ -25,8 +25,6 @@
|
|||||||
template<class _Traits, class _Ax>
|
template<class _Traits, class _Ax>
|
||||||
static DWORD GetModuleFileNameA(_In_opt_ HMODULE hModule, _Out_ std::basic_string<char, _Traits, _Ax> &sValue) noexcept
|
static DWORD GetModuleFileNameA(_In_opt_ HMODULE hModule, _Out_ std::basic_string<char, _Traits, _Ax> &sValue) noexcept
|
||||||
{
|
{
|
||||||
assert(0); // TODO: Test this code.
|
|
||||||
|
|
||||||
char szStackBuffer[WINSTD_STACK_BUFFER_BYTES/sizeof(char)];
|
char szStackBuffer[WINSTD_STACK_BUFFER_BYTES/sizeof(char)];
|
||||||
|
|
||||||
// Try with stack buffer first.
|
// Try with stack buffer first.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user