C++: Also update source-sink tests.

This commit is contained in:
Mathias Vorreiter Pedersen
2025-03-14 20:04:45 +00:00
parent b7d1c56372
commit a035c9b4d1

View File

@@ -13,6 +13,12 @@ typedef long long LONGLONG;
typedef unsigned long* ULONG_PTR;
typedef char *LPTSTR;
typedef DWORD* LPDWORD;
using size_t = decltype(sizeof(int));
using SIZE_T = size_t;
namespace ATL {
typedef ULONG REGSAM;
typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION;
typedef PVOID PSECURITY_DESCRIPTOR;
@@ -35,9 +41,6 @@ typedef struct _FILETIME {
DWORD dwHighDateTime;
} FILETIME, *PFILETIME, *LPFILETIME;
using size_t = decltype(sizeof(int));
using SIZE_T = size_t;
typedef struct _OVERLAPPED {
ULONG_PTR Internal;
ULONG_PTR InternalHigh;
@@ -387,3 +390,4 @@ void test_CRegKey() {
DWORD value2;
key.QueryValue(value2, "foo"); // $ local_source
}
}