01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.internal.ole.win32;
11:
12: public class IClassFactory2 extends IUnknown {
13: public IClassFactory2(int /*long*/address) {
14: super (address);
15: }
16:
17: public int CreateInstanceLic(int /*long*/pUnkOuter,
18: int /*long*/pUnkReserved, GUID riid, int /*long*/bstrKey,
19: int /*long*/ppvObject[]) {
20: return COM.VtblCall(7, address, pUnkOuter, pUnkReserved, riid,
21: bstrKey, ppvObject);
22: }
23:
24: public int GetLicInfo(LICINFO licInfo) {
25: return COM.VtblCall(5, address, licInfo);
26: }
27:
28: public int RequestLicKey(int dwReserved, int /*long*/[] pBstrKey) {
29: return COM.VtblCall(6, address, dwReserved, pBstrKey);
30: }
31: }
|