Versions in this module Expand all Collapse all v0 v0.4.0 Dec 6, 2024 Changes in this version + const STGM_READ + const STGM_READWRITE + const STGM_WRITE + func CoCreateInstance(clsid *windows.GUID, unkOuter *IUnknown, clsContext uint32, iid *windows.GUID) (v unsafe.Pointer, err error) + func CoInitializeEx(reserved uintptr, coInitFlag uint32) (err error) + func CoTaskMemFree(address unsafe.Pointer) + func CoUninitialize() + func IID_IPropertyStore() windows.GUID + func IID_IUnknown() windows.GUID + type HRESULT = uint32 + type IPropertyStore struct + func (prop *IPropertyStore) Commit() (err error) + func (prop *IPropertyStore) GetAt(iProp uint32) (key *PROPERTYKEY, err error) + func (prop *IPropertyStore) GetCount() (cProps uint32, err error) + func (prop *IPropertyStore) GetValue(key PROPERTYKEY) (propVar PROPVARIANT, err error) + func (prop *IPropertyStore) Release() (err error) + func (prop *IPropertyStore) SetValue(key PROPERTYKEY, propVar PROPVARIANT) (err error) + type IUnknown struct + type IUnknownVtbl struct + AddRef uintptr + QueryInterface uintptr + Release uintptr + type PROPERTYKEY struct + Fmtid windows.GUID + Pid uint32 + func PKEY_Device_ContainerId() PROPERTYKEY + func PKEY_Device_DeviceDesc() PROPERTYKEY + func PKEY_Device_FriendlyName() PROPERTYKEY + func PKEY_Device_InstanceId() PROPERTYKEY + type PROPVARIANT struct + Val uint64 + Vt uint16 + WReserved1 uint16 + WReserved2 uint16 + WReserved3 uint16 + func (propvar *PROPVARIANT) PwszVal() *uint16 + func (propvar *PROPVARIANT) PwszValString() string