예제 #1
0
        internal MI_Result GetApplication(
            MI_Application application
            )
        {
            MI_Result resultLocal = this.ft.GetApplication(this,
                                                           application);

            return(resultLocal);
        }
예제 #2
0
        internal static MI_Result Initialize(string applicationId, out MI_Instance extendedError, out MI_Application application)
        {
            MI_Application applicationLocal   = MI_Application.NewDirectPtr();
            MI_Instance    extendedErrorLocal = MI_Instance.NewIndirectPtr();

            MI_Result result = NativeMethods.MI_Application_InitializeV1(0, applicationId, extendedErrorLocal, applicationLocal);

            extendedError = extendedErrorLocal;
            application   = applicationLocal;
            return(result);
        }