DMD 2.099.0 on Windows 10
In core.sys.windows.objbase.d
HRESULT IIDFromString(LPOLESTR, LPIID);
From Win32 SDK (10.0.19041.0), combaseapi.h file dated 1-Dec-20:
_Check_return_ WINOLEAPI
IIDFromString(
_In_ LPCOLESTR lpsz,
_Out_ LPIID lpiid
);
https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-iidfromstring
The D implementation has lost the const on the first parameter (LPOLESTR vs LPCOLESTR).
This may also be true of other function declarations, but I haven't checked.
Comment #1 by robert.schadek — 2024-12-07T13:42:04Z