From f24ccd75b5805d64c90018b3661e295c3d69ffe0 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 5 Jun 2020 13:04:49 +0200 Subject: [pkg] go mod tidy Signed-off-by: kali kaneko (leap communications) --- packages/w32/iunknown.go | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 packages/w32/iunknown.go (limited to 'packages/w32/iunknown.go') diff --git a/packages/w32/iunknown.go b/packages/w32/iunknown.go deleted file mode 100644 index d63ff1b..0000000 --- a/packages/w32/iunknown.go +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright 2010-2012 The W32 Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package w32 - -type pIUnknownVtbl struct { - pQueryInterface uintptr - pAddRef uintptr - pRelease uintptr -} - -type IUnknown struct { - lpVtbl *pIUnknownVtbl -} - -func (this *IUnknown) QueryInterface(id *GUID) *IDispatch { - return ComQueryInterface(this, id) -} - -func (this *IUnknown) AddRef() int32 { - return ComAddRef(this) -} - -func (this *IUnknown) Release() int32 { - return ComRelease(this) -} -- cgit v1.2.3