mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-22 07:30:01 +00:00
* ✨feature: print all routes message when server starts * ✨feature: print all routes message when server starts * ✨feature: print all routes message when server starts * 🐛fix: errors unhandled * 🐛fix: ignore child process and add some "-" to the table head * 🐛fix: add printRoutesMessage for listener and listenTLS
27 lines
520 B
Go
27 lines
520 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package ole
|
|
|
|
import (
|
|
"syscall"
|
|
"unsafe"
|
|
)
|
|
|
|
func (v *IConnectionPointContainer) EnumConnectionPoints(points interface{}) error {
|
|
return NewError(E_NOTIMPL)
|
|
}
|
|
|
|
func (v *IConnectionPointContainer) FindConnectionPoint(iid *GUID, point **IConnectionPoint) (err error) {
|
|
hr, _, _ := syscall.Syscall(
|
|
v.VTable().FindConnectionPoint,
|
|
3,
|
|
uintptr(unsafe.Pointer(v)),
|
|
uintptr(unsafe.Pointer(iid)),
|
|
uintptr(unsafe.Pointer(point)))
|
|
if hr != 0 {
|
|
err = NewError(hr)
|
|
}
|
|
return
|
|
}
|