rapid7/metasploit-framework — pull request #661 by calennert (2012-08-02 00:49:40+00:00)
Title: Two corrections to NetGetJoinInformation args

Calling netapi32.NetGetJoinInformation with a non-nil "lpServer"
argument produces error code 0x459 (1113: "No mapping for the Unicode
character exists in the target multibyte code page."). Since the WinAPI
defines the function argument as LPCWSTR, PWCHAR would appear to be
the correct type for this argument, rather than PBLOB.

Also, name of argument #2 appears to be a typo: should be "lpNameBuffer"
instead of "lpNameBugger".