I'm using the MSDN sample code to get WMI Data from a local computer (http://msdn.microsoft.com/en-us/libr...23(VS.85).aspx), and everything works fine for Win32 classes with only scalar elements (like in Win32_Processor).

Now I want to access Win32_DeviceBus which is defined as

class Win32_DeviceBus : CIM_Dependency
{
Win32_Bus REF Antecedent;
CIM_LogicalDevice REF Dependent;
};

How do I access the Antecedent properties (like Antecedent.BusType)?