Adding upstream version 2.52.6.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a960158181
commit
6d002e9543
441 changed files with 95392 additions and 0 deletions
36
internal/go-ole/winrt_doc.go
Normal file
36
internal/go-ole/winrt_doc.go
Normal file
|
@ -0,0 +1,36 @@
|
|||
//go:build !windows
|
||||
|
||||
package ole
|
||||
|
||||
// RoInitialize
|
||||
func RoInitialize(thread_type uint32) (err error) {
|
||||
return NewError(E_NOTIMPL)
|
||||
}
|
||||
|
||||
// RoActivateInstance
|
||||
func RoActivateInstance(clsid string) (ins *IInspectable, err error) {
|
||||
return nil, NewError(E_NOTIMPL)
|
||||
}
|
||||
|
||||
// RoGetActivationFactory
|
||||
func RoGetActivationFactory(clsid string, iid *GUID) (ins *IInspectable, err error) {
|
||||
return nil, NewError(E_NOTIMPL)
|
||||
}
|
||||
|
||||
// HString is handle string for pointers.
|
||||
type HString uintptr
|
||||
|
||||
// NewHString returns a new HString for Go string.
|
||||
func NewHString(s string) (hstring HString, err error) {
|
||||
return HString(uintptr(0)), NewError(E_NOTIMPL)
|
||||
}
|
||||
|
||||
// DeleteHString deletes HString.
|
||||
func DeleteHString(hstring HString) (err error) {
|
||||
return NewError(E_NOTIMPL)
|
||||
}
|
||||
|
||||
// String returns Go string value of HString.
|
||||
func (h HString) String() string {
|
||||
return ""
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue