ClangSharp
ClangSharp copied to clipboard
Scrape `CLSID_*` GUID constants defined as `EXTERN_C const CLSID CLSID_*;`
See the discussion at https://github.com/microsoft/win32metadata/issues/994#issuecomment-1474047251 for details.
Below is an example. Another example that follows the same pattern is https://github.com/microsoft/win32metadata/issues/271#issuecomment-783119742.
EXTERN_C const CLSID CLSID_FileOpenDialog;
#ifdef __cplusplus
class DECLSPEC_UUID("DC1C5A9C-E88A-4dde-A5A1-60F82A20AEF7")
FileOpenDialog;
#endif
Today FileOpenDialog is scraped as a struct with a GUID attribute. CLSID_FileOpenDialog is not scraped at all even though that is the documented and expected name to use when referencing this CLSID.
It would be great if ClangSharp could also scrape CLSID_FileOpenDialog and associate it with the GUID scraped for FileOpenDialog.