com.moesol.bindings.platform_sdk.component_services
Class PROPPAGEINFO

java.lang.Object
  extended by com.moesol.bindings.NativeStructure
      extended by com.moesol.bindings.platform_sdk.component_services.PROPPAGEINFO
All Implemented Interfaces:
Comparable

public class PROPPAGEINFO
extends NativeStructure

* IDL: [ helpstring(""), ]
struct/union


Nested Class Summary
static class PROPPAGEINFO.Array
          Represent a native array of these structures
 
Field Summary
static int OFFSET_cb
           
static int OFFSET_dwHelpContext
           
static int OFFSET_pszDocString
           
static int OFFSET_pszHelpFile
           
static int OFFSET_pszTitle
           
static int OFFSET_SIZE
           
static GUID UUID
           
 
Constructor Summary
PROPPAGEINFO()
          Create a new instance.
PROPPAGEINFO(ByteBuffer bb)
          Create a new instance on a byte buffer.
 
Method Summary
 void clearRecord()
          Free the contained LPWSTR strings.
protected  void finalize()
           
 long get_cb()
           
 long get_dwHelpContext()
           
 String get_pszDocString()
           
 String get_pszHelpFile()
           
 String get_pszTitle()
           
 SIZE get_SIZE()
           
 int getDynamicSize()
          Get dynamic size in bytes.
 void set_cb(long v)
           
 void set_dwHelpContext(long v)
           
 void set_pszDocString(String v)
           
 void set_pszHelpFile(String v)
           
 void set_pszTitle(String v)
           
 void set_SIZE(SIZE v)
           
static int sizeof()
           
 String toString()
           
 
Methods inherited from class com.moesol.bindings.NativeStructure
_getByteBuffer, _getStructureBytes, compareTo, equals, freeLpwstr, getArray, getBool, getBOOLArray, getBstr, getBSTRArray, getBstrArray, getByte, getBYTEArray, getByteArray, getByteBuffer, getByteSize, getByteString, getDate, getDouble, getDOUBLEArray, getDoubleArray, getDoubleSize, getFloat, getFLOATArray, getFloatArray, getFloatSize, getInt, getINTArray, getIntArray, getInterface, getIntSize, getLong, getLONGArray, getLongSize, getLpwstr, getPtrInt, getPtrShort, getPtrShortString, getPtrStruct, getPtrUnsignedByte, getPtrUnsignedShort, getPtrVariant, getPtrvoid, getRemaining, getSCODE, getShort, getSHORTArray, getShortArray, getShortSize, getSlice, getSlice, getString, getStruct, getStruct, getStructArray, getUINTArray, getUnsignedByte, getUnsignedByteArray, getUnsignedByteSize, getUnsignedInt, getUnsignedIntArray, getUnsignedIntSize, getUnsignedLongLong, getUnsignedLongSize, getUnsignedShort, getUnsignedShortArray, getUnsignedShortSize, getUSHORTArray, getVariant, getVARIANTArray, hashCode, order, order, putArray, putBool, putBOOLArray, putBstr, putBstrArray, putBSTRArray, putByte, putByteArray, putBYTEArray, putByteString, putDate, putDouble, putDOUBLEArray, putDoubleArray, putFloat, putFLOATArray, putFloatArray, putInt, putINTArray, putIntArray, putInterface, putLong, putLONGArray, putLpwstr, putPtrInt, putPtrShort, putPtrShortString, putPtrStruct, putPtrUnsignedByte, putPtrUnsignedShort, putPtrVariant, putPtrvoid, putSCODE, putShort, putShortArray, putSHORTArray, putString, putStruct, putStruct, putStructArray, putUINTArray, putUnsignedByte, putUnsignedByteArray, putUnsignedInt, putUnsignedIntArray, putUnsignedLongLong, putUnsignedShort, putUnsignedShortArray, putUSHORTArray, putVariant, putVARIANTArray, stringFromC, stringFromC, zero
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UUID

public static final GUID UUID

OFFSET_cb

public static final int OFFSET_cb
See Also:
Constant Field Values

OFFSET_pszTitle

public static final int OFFSET_pszTitle
See Also:
Constant Field Values

OFFSET_SIZE

public static final int OFFSET_SIZE
See Also:
Constant Field Values

OFFSET_pszDocString

public static final int OFFSET_pszDocString
See Also:
Constant Field Values

OFFSET_pszHelpFile

public static final int OFFSET_pszHelpFile
See Also:
Constant Field Values

OFFSET_dwHelpContext

public static final int OFFSET_dwHelpContext
See Also:
Constant Field Values
Constructor Detail

PROPPAGEINFO

public PROPPAGEINFO()
Create a new instance.


PROPPAGEINFO

public PROPPAGEINFO(ByteBuffer bb)
Create a new instance on a byte buffer.

Method Detail

sizeof

public static int sizeof()

set_cb

public void set_cb(long v)
Parameters:
v - new cb value

get_cb

public long get_cb()
Returns:
cb value

set_pszTitle

public void set_pszTitle(String v)
Parameters:
v - new pszTitle value

get_pszTitle

public String get_pszTitle()
Returns:
pszTitle value

set_SIZE

public void set_SIZE(SIZE v)
Parameters:
v - new SIZE value

get_SIZE

public SIZE get_SIZE()
Returns:
SIZE value

set_pszDocString

public void set_pszDocString(String v)
Parameters:
v - new pszDocString value

get_pszDocString

public String get_pszDocString()
Returns:
pszDocString value

set_pszHelpFile

public void set_pszHelpFile(String v)
Parameters:
v - new pszHelpFile value

get_pszHelpFile

public String get_pszHelpFile()
Returns:
pszHelpFile value

set_dwHelpContext

public void set_dwHelpContext(long v)
Parameters:
v - new dwHelpContext value

get_dwHelpContext

public long get_dwHelpContext()
Returns:
dwHelpContext value

getDynamicSize

public int getDynamicSize()
Get dynamic size in bytes. If this structure contains a variable size array, return the number of bytes needed to hold the fixed part and the variable sized array based on the [length_is()] attribute. Note that the sizeof method on returns the size of the fixed part plus the size of one array entry.

Returns:
dynamic size in bytes.

toString

public String toString()
Overrides:
toString in class Object

finalize

protected void finalize()
Overrides:
finalize in class Object

clearRecord

public void clearRecord()
Free the contained LPWSTR strings. We cannot rely on NativeStructure's default implementation of clearRecord because it uses type information to free nested BSTRs, SAFEARRAYs, etc. However, it does not currently support nested LPWSTR fields. If we call super.clearRecord we would get a COMException.

Overrides:
clearRecord in class NativeStructure


Copyright © 2004 Moebius Solutions, Inc. All Rights Reserved.