headers: fail Build on missing native exports and assert MI/COM layouts (#2739)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-16 02:32:29 +02:00
committed by GitHub
parent af2a7c3f6c
commit 2f5781ff13
43 changed files with 866 additions and 16 deletions
+6 -1
View File
@@ -67,8 +67,13 @@ func (s *TaskService) Connect() error {
domain := ole.NewEmptyVariant()
password := ole.NewEmptyVariant()
fn, err := s.Method(taskServiceConnect)
if err != nil {
return err
}
hr := ole.Call(
s.Method(taskServiceConnect),
fn,
uintptr(unsafe.Pointer(s)),
uintptr(unsafe.Pointer(server)),
uintptr(unsafe.Pointer(user)),