go-wca/pkg/wca/com_func.go
Yoshiyuki Koyanagi 53a62d71d2 Apply go fmt
2023-03-04 15:43:43 +09:00

24 lines
549 B
Go

//go:build !windows
// +build !windows
package wca
import (
"github.com/go-ole/go-ole"
)
func CreateEventExA(securityAttributes, name, flag, desiredAccess uint32) (err error) {
return ole.NewError(ole.E_NOTIMPL)
}
func CloseHandle(hObject uintptr) (err error) {
return ole.NewError(ole.E_NOTIMPL)
}
func CoCreateInstance(clsid *ole.GUID, punk uintptr, clsctx uint32, iid *ole.GUID, obj interface{}) (err error) {
return ole.NewError(ole.E_NOTIMPL)
}
func WaitForSingleObject(handle uintptr, milliseconds uint32) (dword uint32) {
return
}