예제 #1
0
        internal MI_Result IsA(
            MI_ClassDecl classDecl,
            out bool flag
            )
        {
            MI_Result resultLocal = this.ft.IsA(this,
                                                classDecl,
                                                out flag);

            return(resultLocal);
        }
예제 #2
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);
        }
예제 #3
0
        internal MI_Result NewInstance(
            string className,
            MI_ClassDecl classRTTI,
            out MI_Instance instance
            )
        {
            MI_Instance instanceLocal = MI_Instance.NewIndirectPtr();

            MI_Result resultLocal = this.ft.NewInstance(this,
                                                        className,
                                                        classRTTI,
                                                        instanceLocal);

            instance = instanceLocal;
            return(resultLocal);
        }
예제 #4
0
        internal MI_Result NewClass(
            MI_ClassDecl classDecl,
            string namespaceName,
            string serverName,
            out MI_Class classObject
            )
        {
            MI_Class classObjectLocal = MI_Class.NewIndirectPtr();

            MI_Result resultLocal = this.ft.NewClass(this,
                                                     classDecl,
                                                     namespaceName,
                                                     serverName,
                                                     classObjectLocal);

            classObject = classObjectLocal;
            return(resultLocal);
        }