public unsafe ServiceActivityThunk(ServiceConfigThunk psct)
 {
     IServiceActivity* activityPtr;
     IUnknown* serviceConfigUnknown = psct.ServiceConfigUnknown;
     this.m_pSA = null;
     **(((int*) serviceConfigUnknown))[8](serviceConfigUnknown);
     Marshal.ThrowExceptionForHR(*ServiceDomainThunk.CoCreateActivity(serviceConfigUnknown, &IID_IServiceActivity, &activityPtr));
     this.m_pSA = activityPtr;
 }
        public unsafe ServiceActivityThunk(ServiceConfigThunk psct)
        {
            IServiceActivity *activityPtr;
            IUnknown *        serviceConfigUnknown = psct.ServiceConfigUnknown;

            this.m_pSA = null;
            * *(((int *)serviceConfigUnknown))[8](serviceConfigUnknown);
            Marshal.ThrowExceptionForHR(*ServiceDomainThunk.CoCreateActivity(serviceConfigUnknown, &IID_IServiceActivity, &activityPtr));
            this.m_pSA = activityPtr;
        }
Beispiel #3
0
 private void Init()
 {
     m_sct = new Thunk.ServiceConfigThunk();
 }
 private void Init()
 {
     this.m_sct = new ServiceConfigThunk();
 }