﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2132	_WinAPI_GetModuleHandle incorrect param handling	wraithdu	guinness	"The doc says to pass 0 for the current process handle. This code expects an empty string instead:
{{{
Func _WinAPI_GetModuleHandle($sModuleName)
	Local $sModuleNameType = ""wstr""
	If $sModuleName = """" Then
		$sModuleName = 0
		$sModuleNameType = ""ptr""
	EndIf
}}}
Either the code or doc should be fixed (MSDN says to use NULL, so I vote for sticking with the doc and fixing the code)."	Bug	closed	3.3.9.1	Standard UDFs	3.3.9.0	None	Fixed	winapi getmodulehandle	
