New upstream version 23.2.1+dfsg1

This commit is contained in:
Simon Chopin 2019-07-27 14:47:10 +02:00
parent cdc9a9fc87
commit b14f9eae6d
1017 changed files with 37232 additions and 11111 deletions

View file

@ -68,7 +68,7 @@ public:
inline ComPtr<T> &operator=(ComPtr<T> &&c)
{
if (this != &c) {
if (&ptr != &c.ptr) {
Kill();
ptr = c.ptr;
c.ptr = nullptr;

View file

@ -17,7 +17,7 @@
#pragma once
class WinHandle {
HANDLE handle;
HANDLE handle = INVALID_HANDLE_VALUE;
inline void Clear()
{
@ -26,7 +26,7 @@ class WinHandle {
}
public:
inline WinHandle() : handle(NULL) {}
inline WinHandle() {}
inline WinHandle(HANDLE handle_) : handle(handle_) {}
inline ~WinHandle() {Clear();}

View file

@ -32,6 +32,7 @@ struct win_version_info {
EXPORT bool is_64_bit_windows(void);
EXPORT bool get_dll_ver(const wchar_t *lib, struct win_version_info *info);
EXPORT void get_win_ver(struct win_version_info *info);
EXPORT uint32_t get_win_ver_int(void);
#ifdef __cplusplus
}