Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VARIANT ?!?

7 views
Skip to first unread message

Mauro

unread,
Aug 22, 2001, 4:58:13 AM8/22/01
to
Ciao

While getting the property "Accessibility" of class Win32_DesktopMonitor,
i get the result with the incorrect variant type VT_I4 (as the cim type
- correctly returned by Get - is uint16, it should be VT_UI2!)!!
Any workaround other than manually changing the variant type ?!?
Thanks,
mauro


Raman

unread,
Aug 22, 2001, 12:56:51 PM8/22/01
to
This is the expected behaviour. If you look in the wmi msdn docs you will
find the following mappings in the 'Mof data types 'section
Data type Automation type Description
Uint8 VT_UI1 Unsigned 8-bit integer.
Uint16 VT_I4 Unsigned 16-bit integer.
Uint32 VT_I4 Unsigned 32-bit integer.

Raman
Microsoft WMI Dev Support

"Mauro" <mauro@me> wrote in message news:ebn$YiuKBHA.1844@tkmsftngp04...

0 new messages