/******************************************************************************* * Copyright (c) 2000, 2017 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.swt.internal.ole.win32; import org.eclipse.swt.internal.win32.*; public class IClassFactory2 extends IUnknown { public IClassFactory2(long /*int*/ address) { super(address); } public int CreateInstanceLic(long /*int*/ pUnkOuter, long /*int*/ pUnkReserved, GUID riid, long /*int*/ bstrKey, long /*int*/ ppvObject[]) { return COM.VtblCall(7, address, pUnkOuter, pUnkReserved, riid, bstrKey, ppvObject); } public int GetLicInfo(LICINFO licInfo) { return COM.VtblCall(5, address, licInfo); } public int RequestLicKey(int dwReserved, long /*int*/[] pBstrKey) { return OS.VtblCall(6, address, dwReserved, pBstrKey); } }