<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 16.02.2018 um 11:09 schrieb Jacek Caban <<a href="mailto:jacek@codeweavers.com" class="">jacek@codeweavers.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">In such cases we need to use the second way. Note that uuids are usually defined using DEFINE_GUID in headers, see guiddef.h for the macro. It expands to |extern const GUID| unless DEFINE_GUID is defined. If it's defined, full declaration is included. In wmp_main.c we include initguid.h, which defines DEFINE_GUID macro. It means that we will have uuids declared for all headers included in wmp_main.c.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div>Wouldn't it be possible to include public headers that have GUIDs from uuid.lib, then include initguid.h, and then include headers that define WMP guids (or define the WMP GUIDs manually)? That should import guids that work with uuid.lib from there and define the rest.<div class=""><br class=""></div><div class="">Of course the beauty of a half-way approach is always questionable, so not sure if that's better than just using DEFINE_GUID for everything.</div><div class=""><br class=""></div></body></html>