public static extern QueryReportResult qr2_init_socketW ( IntPtr /*[out] qr2_t* */ qrec, IntPtr /*SOCKET*/ sock, int boundPort, String gameName, String secretKey, int isPublic, int natNegotiate, QRServerKeyCallback serverKeyCallback, QRPlayerTeamKeyCallback playerKeyCallback, QRPlayerTeamKeyCallback teamKeyCallback, QRKeyListCallback keyListCallback, QRCountCallback playerTeamCountCallback, QRAddErrorCallback addErrorCallback, IntPtr userData );
public static extern QueryReportResult qr2_initW ( IntPtr /*[out] qr2_t* */ qrec, String ip, int basePort, [MarshalAs(UnmanagedType.LPTStr)] string gameName, [MarshalAs(UnmanagedType.LPTStr)] string secretKey, int isPublic, // is the server public as opposed to LAN. int natNegotiate, // this is true when private ip should be visible from the server browser listing. QRServerKeyCallback serverKeyCallback, QRPlayerTeamKeyCallback playerKeyCallback, QRPlayerTeamKeyCallback teamKeyCallback, QRKeyListCallback keyListCallback, QRCountCallback playerTeamCountCallback, QRAddErrorCallback addErrorCallback, IntPtr userData );