mirror of
https://gitea.tendokyu.moe/TeamTofuShop/taitools.git
synced 2026-09-22 22:28:06 +03:00
fix msvc compile
This commit is contained in:
+2
-2
@@ -9,13 +9,13 @@
|
||||
|
||||
// Mayhaps move this to a seperate thing in the event a second USB IO
|
||||
// providor is needed?
|
||||
struct usbio_dev {
|
||||
//struct usbio_dev {
|
||||
// TODO: populate with handler functions for various commands that
|
||||
// come in via winusb
|
||||
// It might also just do a mass bulk update, in which case we need
|
||||
// a struct that encompases all the digital and analog I/O pins and
|
||||
// their states.
|
||||
};
|
||||
//};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
|
||||
+3
-3
@@ -68,7 +68,7 @@ static int WSAAPI hook_getaddrinfo(
|
||||
const ADDRINFOA *pHints,
|
||||
ADDRINFOA **ppResult);
|
||||
|
||||
static WINHTTPAPI BOOL hook_WinHttpCrackUrl(
|
||||
static BOOL hook_WinHttpCrackUrl(
|
||||
LPCWSTR pwszUrl,
|
||||
DWORD dwUrlLength,
|
||||
DWORD dwFlags,
|
||||
@@ -103,7 +103,7 @@ static int (WSAAPI *next_getaddrinfo)(
|
||||
const ADDRINFOA *pHints,
|
||||
ADDRINFOA **ppResult);
|
||||
|
||||
static WINHTTPAPI BOOL (*next_WinHttpCrackUrl)(
|
||||
static BOOL (*next_WinHttpCrackUrl)(
|
||||
LPCWSTR pwszUrl,
|
||||
DWORD dwUrlLength,
|
||||
DWORD dwFlags,
|
||||
@@ -492,7 +492,7 @@ end:
|
||||
return result;
|
||||
}
|
||||
|
||||
static WINHTTPAPI BOOL hook_WinHttpCrackUrl(
|
||||
static BOOL hook_WinHttpCrackUrl(
|
||||
LPCWSTR pwszUrl,
|
||||
DWORD dwUrlLength,
|
||||
DWORD dwFlags,
|
||||
|
||||
+2
-2
@@ -49,7 +49,7 @@ HCERTSTORE WINAPI hook_CertOpenStore(
|
||||
const void *pvPara
|
||||
);
|
||||
|
||||
WINHTTPAPI BOOL hook_WinHttpSetOption(
|
||||
static BOOL hook_WinHttpSetOption(
|
||||
HINTERNET hInternet,
|
||||
DWORD dwOption,
|
||||
LPVOID lpBuffer,
|
||||
@@ -73,7 +73,7 @@ HCERTSTORE (WINAPI *next_CertOpenStore)(
|
||||
const void *pvPara
|
||||
);
|
||||
|
||||
WINHTTPAPI BOOL (*next_WinHttpSetOption)(
|
||||
static BOOL (*next_WinHttpSetOption)(
|
||||
HINTERNET hInternet,
|
||||
DWORD dwOption,
|
||||
LPVOID lpBuffer,
|
||||
|
||||
Reference in New Issue
Block a user