[PATCH 1/4] wusa: Add support for extracting MSU files.

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Mon Dec 2 15:22:55 CST 2019


Hi Hans,


________________________________
From: wine-devel <wine-devel-bounces at winehq.org> on behalf of Hans Leidekker <hans at codeweavers.com>
Sent: Monday, 2 December 2019 8:11 PM
To: wine-devel at winehq.org <wine-devel at winehq.org>
Subject: [PATCH 1/4] wusa: Add support for extracting MSU files.

 ....
diff --git a/programs/wusa/wusa.h b/programs/wusa/wusa.h
new file mode 100644
index 0000000000..c6bf7eda11
+
+static void *heap_alloc(size_t len) __WINE_ALLOC_SIZE(1);
+static inline void *heap_alloc(size_t len)
+{
+    return HeapAlloc(GetProcessHeap(), 0, len);
+}
+
+static inline BOOL heap_free(void *mem)

Is there a reason why your not using the wine/heap.h ones?


Regards
Alistair.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20191202/e954292e/attachment.htm>


More information about the wine-devel mailing list