Microsoft SDK for Java

jcdwClassOffsetOf

This method of the ComLib Class retrieves the offset of a COM data structure that represents an instance of a Java proxy class. The offset is measured in bytes.

Syntax

public native static int jcdwClassOffsetOf(Class cls, String fieldName);

Return Value

Returns the offset of a COM data structure, measured in bytes.

Parameters

cls The class object for a Java proxy to a COM data structure.
fieldName The name of the COM-mapped field.

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