Closed DragosPopse closed 4 months ago
Metadata currently has:
[Documentation("https://learn.microsoft.com/windows/win32/api/objbase/ne-objbase-coinit")]
[Flags]
public enum COINIT
{
COINIT_APARTMENTTHREADED = 2,
COINIT_MULTITHREADED = 0,
COINIT_DISABLE_OLE1DDE = 4,
COINIT_SPEED_OVER_MEMORY = 8
}
So doesn't seem like there's an issue here, right?
Closing for now, let us know if I missed something here. Doc bugs can be filed by clicking the pencil icon on this page https://learn.microsoft.com/windows/win32/api/objbase/ne-objbase-coinit
thanks @riverar. That's the thing i was actually looking for (submitting docs bug)
The official page the metadata points to, the definition that is shown there
Makes you believe that
MULTITHREADED
is set to be3
. Looking atobjasse.h
, this is wrongwhere
COINITBASE_MULTITHREADED
is defined incombaseapi.h
asThis is problematic for creating bindings to the win32 API in other languages, as it misleads you to believe imaginary tales.
There are other places like this where the docs don't tell you what you need to know without jumping deep into the headers, so if this report is useful i'm happy to submit more.