Microsoft SDK for Java

createFromPackage

This method of the LicenseMgr Class creates a package. This method cannot be invoked directly. You must first cast the LicenseMgr object to the ILicenseMgr interface and invoke the method through the interface.

Syntax

public native IUnknown createFromPackage(int index, IUnknown punkOuter, int ctxFlags);

Return Value

Returns the newly created package.

Parameters

index The index of the package.
punkOuter The aggregating object if the object is created as part of an aggregate; otherwise, the value is null.
ctxFlags The ComContext value that represents the context that the new object should be created in.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.