private void GetPropertyInformation() { IPropertyStore propstore; Marshal.ThrowExceptionForHR(deviceInterface.OpenPropertyStore(StorageAccessMode.Read, out propstore)); propertyStore = new PropertyStore(propstore); }
private void GetPropertyInformation() { IPropertyStore propstore; Marshal.ThrowExceptionForHR(_RealDevice.OpenPropertyStore(EStgmAccess.STGM_READ, out propstore)); _PropertyStore = new PropertyStore(propstore); }