github.com/hspan/go-ole@v0.0.0/winrt_doc.go (about)

     1  // +build !windows
     2  
     3  package ole
     4  
     5  // RoInitialize
     6  func RoInitialize(thread_type uint32) (err error) {
     7  	return NewError(E_NOTIMPL)
     8  }
     9  
    10  // RoActivateInstance
    11  func RoActivateInstance(clsid string) (ins *IInspectable, err error) {
    12  	return nil, NewError(E_NOTIMPL)
    13  }
    14  
    15  // RoGetActivationFactory
    16  func RoGetActivationFactory(clsid string, iid *GUID) (ins *IInspectable, err error) {
    17  	return nil, NewError(E_NOTIMPL)
    18  }
    19  
    20  // HString is handle string for pointers.
    21  type HString uintptr
    22  
    23  // NewHString returns a new HString for Go string.
    24  func NewHString(s string) (hstring HString, err error) {
    25  	return HString(uintptr(0)), NewError(E_NOTIMPL)
    26  }
    27  
    28  // DeleteHString deletes HString.
    29  func DeleteHString(hstring HString) (err error) {
    30  	return NewError(E_NOTIMPL)
    31  }
    32  
    33  // String returns Go string value of HString.
    34  func (h HString) String() string {
    35  	return ""
    36  }