예제 #1
0
        internal MI_Result GetElementAt(
            UInt32 index,
            out string name,
            out MI_Value value,
            out bool valueExists,
            out MI_Type type,
            out string referenceClass,
            out MI_QualifierSet qualifierSet,
            out MI_Flags flags
            )
        {
            MI_String       nameLocal           = MI_String.NewIndirectPtr();
            MI_String       referenceClassLocal = MI_String.NewIndirectPtr();
            MI_Value        valueLocal          = new MI_Value();
            MI_QualifierSet qualifierSetLocal   = MI_QualifierSet.NewDirectPtr();

            MI_Result resultLocal = this.ft.GetElementAt(this,
                                                         index,
                                                         nameLocal,
                                                         valueLocal,
                                                         out valueExists,
                                                         out type,
                                                         referenceClassLocal,
                                                         qualifierSetLocal,
                                                         out flags);

            name           = nameLocal.Value;
            referenceClass = referenceClassLocal.Value;
            value          = valueLocal;
            qualifierSet   = qualifierSetLocal;
            return(resultLocal);
        }
예제 #2
0
        internal MI_Result GetMethodReturnType(
            out MI_Type returnType,
            MI_QualifierSet qualifierSet
            )
        {
            MI_Result resultLocal = this.ft.GetMethodReturnType(this,
                                                                out returnType,
                                                                qualifierSet);

            return(resultLocal);
        }
예제 #3
0
        internal MI_Result GetClassQualifierSet(
            out MI_QualifierSet qualifierSet
            )
        {
            MI_QualifierSet qualifierSetLocal = MI_QualifierSet.NewDirectPtr();
            MI_Result       resultLocal       = this.ft.GetClassQualifierSet(this,
                                                                             qualifierSetLocal);

            qualifierSet = qualifierSetLocal;
            return(resultLocal);
        }
예제 #4
0
        internal MI_Result GetMethod(
            string name,
            out MI_QualifierSet qualifierSet,
            out MI_ParameterSet parameterSet,
            out UInt32 index
            )
        {
            MI_QualifierSet qualifierSetLocal = MI_QualifierSet.NewDirectPtr();
            MI_ParameterSet parameterSetLocal = MI_ParameterSet.NewDirectPtr();
            MI_Result       resultLocal       = this.ft.GetMethod(this,
                                                                  name,
                                                                  qualifierSetLocal,
                                                                  parameterSetLocal,
                                                                  out index);

            qualifierSet = qualifierSetLocal;
            parameterSet = parameterSetLocal;
            return(resultLocal);
        }
예제 #5
0
        internal MI_Result GetParameter(
            string name,
            out MI_Type parameterType,
            out string referenceClass,
            out MI_QualifierSet qualifierSet,
            out UInt32 index
            )
        {
            MI_String       referenceClassLocal = MI_String.NewIndirectPtr();
            MI_QualifierSet qualifierSetLocal   = MI_QualifierSet.NewDirectPtr();

            MI_Result resultLocal = this.ft.GetParameter(this,
                                                         name,
                                                         out parameterType,
                                                         referenceClassLocal,
                                                         qualifierSetLocal,
                                                         out index);

            referenceClass = referenceClassLocal.Value;
            qualifierSet   = qualifierSetLocal;
            return(resultLocal);
        }
예제 #6
0
        internal MI_Result GetMethodAt(
            UInt32 index,
            out string name,
            out MI_QualifierSet qualifierSet,
            out MI_ParameterSet parameterSet
            )
        {
            MI_String       nameLocal         = MI_String.NewIndirectPtr();
            MI_QualifierSet qualifierSetLocal = MI_QualifierSet.NewDirectPtr();
            MI_ParameterSet parameterSetLocal = MI_ParameterSet.NewDirectPtr();

            MI_Result resultLocal = this.ft.GetMethodAt(this,
                                                        index,
                                                        nameLocal,
                                                        qualifierSetLocal,
                                                        parameterSetLocal);

            name         = nameLocal.Value;
            qualifierSet = qualifierSetLocal;
            parameterSet = parameterSetLocal;
            return(resultLocal);
        }