Is this required? It looks already defined in https://github.com/rapid7/metasploit-framework/blob/master/lib/rex/post/meterpreter/extensions/stdapi/railgun/def/def_netapi32.rb