Exemplo n.º 1
0
        internal MI_Result NewParameterSet(
            MI_ClassDecl classDecl,
            out MI_ParameterSet parameterSet
            )
        {
            MI_ParameterSet parameterSetLocal = MI_ParameterSet.NewIndirectPtr();

            MI_Result resultLocal = this.ft.NewInstance(this,
                                                        "Parameters",
                                                        classDecl,
                                                        (MI_Instance.IndirectPtr)parameterSetLocal);

            parameterSet = parameterSetLocal;
            return(resultLocal);
        }
Exemplo n.º 2
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);
        }
Exemplo n.º 3
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);
        }