Esempio n. 1
0
        protected unsafe ITrackerObjectWrapper(ComWrappers cw, bool aggregateRefTracker)
        {
            ComWrappersHelper.Init <ITrackerObjectWrapper>(ref this.classNative, this, aggregateRefTracker, cw, &CreateInstance);

            var inst = Marshal.PtrToStructure <VtblPtr>(this.classNative.Instance);

            this.vtable = Marshal.PtrToStructure <ITrackerObjectWrapperVtbl>(inst.Vtbl);
Esempio n. 2
0
 public DataProtectionProvider() : this((ActivationFactory <DataProtectionProvider> .ActivateInstance <IUnknownVftbl>()))
 {
     ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
     ComWrappersHelper.Init(_inner, false);
 }
 public CompositorController() : this((ActivationFactory <CompositorController> .ActivateInstance <IUnknownVftbl>()))
 {
     ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
     ComWrappersHelper.Init(_inner, false);
 }
 public DisplayRequest() : this((ActivationFactory <DisplayRequest> .ActivateInstance <IUnknownVftbl>()))
 {
     ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
     ComWrappersHelper.Init(_inner, false);
 }
 public PlatformTelemetryRegistrationSettings() : this((ActivationFactory <PlatformTelemetryRegistrationSettings> .ActivateInstance <IUnknownVftbl>()))
 {
     ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
     ComWrappersHelper.Init(_inner, false);
 }
Esempio n. 6
0
 public EasClientDeviceInformation() : this((ActivationFactory <EasClientDeviceInformation> .ActivateInstance <IUnknownVftbl>()))
 {
     ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
     ComWrappersHelper.Init(_inner, false);
 }
Esempio n. 7
0
 public SceneLightingEffect() : this((ActivationFactory <SceneLightingEffect> .ActivateInstance <IUnknownVftbl>()))
 {
     ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
     ComWrappersHelper.Init(_inner, false);
 }