MSFC_HBAPortAttributesResults is just a struct. The members are publicly available. Read this.
u dint get me... just check ths below
do {
hr_next = pIEnumWbemClassObject->Next(
WBEM_INFINITE, // LONG lTimeOut,
1, // ULONG uCount,
&pIWbemClassObjectInst, // IWbemClassObject** ppObjects,
&ulCount // ULONG* puReturned
);
if (WBEM_S_NO_ERROR == hr_next) {
// Extract the MfgDomain parameter.
hr = pIWbemClassObjectInst->Get(
PROP_NAME_MfgDomain, // LPCWSTR wszName,
0, // LONG lFlags,
&vtMfgDomain, // VARIANT* pVal,
NULL, // CIMTYPE* pvtType,
NULL // LONG* plFlavor
);
whr in
hr_next n hr are of type HRESULT
pIEnumWbemClassObject is of type IEnumWbemClassObject
the above code successfully extracted the MfgDomain parameter from the struct
MSFC_FCAdapterHBAAttributes
but in the same way m unable to get the parameters from MSFC_HBAPortAttributesResults...
so pls tell me hw to do tht
thx