github.com/gofiber/fiber/v2@v2.47.0/internal/go-ole/winrt_doc.go (about)

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