[Bug 31087] WMI class property retrieval: some CIM data type to OLE variant (VT) mappings are incorrect (CIM_UINT32, CIM_UINT16 ...)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 1 04:11:32 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=31087

--- Comment #1 from Hans Leidekker <hans at meelstraat.net> 2012-07-01 04:11:32 CDT ---
(In reply to comment #0)
> The unbox failure let me guess that CIM_UINT32 doesn't map to VT_UI4 but to
> VT_I4.
> Google "CIM_UINT32 VT_I4" and hit the first link -> book "Developing Wmi
> Solutions: A Guide to Windows Management ..."
> Bingo! There is a table which shows the type mapping (BTW good WMI resource to
> read...)
> 
> uint32 - VT_I4 - CIM_UINT32

Guess what's the first hit in Google now ;) And the book is wrong, according
to my tests, some CIM_UINT32 properties map to VT_UI4, others map to VT_I4.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list