http://bugs.winehq.org/show_bug.cgi?id=31087
--- Comment #1 from Hans Leidekker hans@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.