Microsoft SDK for Java

getGuidOf

This method of the ComLib class returns the GUID from the @com.class or @com.interface attributed class, which can then be used for J/Direct operations or other ComLib services.

Syntax

public static _Guid getGuidOf(Class cl);

Return Value

The _Guid of the class if it was declared with @com.class or @com.interface; otherwise null.

Parameters

cl The class for which to return the GUID.

Remarks

This method was added as of versions 2925 through 3167 of the Microsoft virtual machine.

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