Top Description Inners
com.sun.jna.platform.win32

public Interface ShTypes

Imports
com.sun.jna.Pointer, .Structure, .Structure.FieldOrder, .Union

Ported from ShTypes.h. Microsoft Windows SDK.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
ShTypes.STRRET

structure for returning strings from IShellFolder member functions

com.sun.jna.platform.win32 back to summary

public Class ShTypes.STRRET

extends Structure
Class Inheritance
Annotations
@FieldOrder:uType, u

structure for returning strings from IShellFolder member functions

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public ShTypes.STRRET.UNION
u

public int
uType

indicate which union member to use:

TYPE_WSTR0x0Use STRRET.pOleStrmust be freed by caller of GetDisplayNameOf TYPE_OFFSET0x1Use STRRET.uOffsetOffset into SHITEMID for ANSI string TYPE_CSTR0x0Use STRRET.cStrANSI Buffer
Inherited from com.sun.jna.Structure:
ALIGN_DEFAULTALIGN_GNUCALIGN_MSVCALIGN_NONECALCULATE_SIZE

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public void
read()

Overrides com.sun.jna.Structure.read.

Reads the fields of the struct from native memory
Inherited from com.sun.jna.Structure:
allocateMemoryallocateMemoryautoAllocateautoReadautoReadautoWriteautoWritecacheTypeInfocalculateSizeclearcreateFieldsOrdercreateFieldsOrdercreateFieldsOrdercreateFieldsOrderdataEqualsdataEqualsensureAllocatedequalsfieldOffsetgetAutoReadgetAutoWritegetFieldListgetFieldOrdergetFieldsgetNativeAlignmentgetNativeSizegetNativeSizegetPointergetStringEncodinggetStructAlignmenthashCodenewInstancenewInstancereadFieldreadFieldsetAlignTypesetAutoReadsetAutoSynchsetAutoWritesetStringEncodingsizesortFieldstoArraytoArraytoStringtoStringuseMemoryuseMemorywritewriteFieldwriteFieldwriteField

Field Detail

TYPE_CSTRback to summary
public static final int TYPE_CSTR
TYPE_OFFSETback to summary
public static final int TYPE_OFFSET
TYPE_WSTRback to summary
public static final int TYPE_WSTR
uback to summary
public ShTypes.STRRET.UNION u
uTypeback to summary
public int uType

indicate which union member to use:

TYPE_WSTR0x0Use STRRET.pOleStrmust be freed by caller of GetDisplayNameOf
TYPE_OFFSET0x1Use STRRET.uOffsetOffset into SHITEMID for ANSI string
TYPE_CSTR0x0Use STRRET.cStrANSI Buffer

Constructor Detail

STRRETback to summary
public STRRET()
STRRETback to summary
public STRRET(Pointer p)

Method Detail

readback to summary
public void read()

Overrides com.sun.jna.Structure.read.

Doc from com.sun.jna.Structure.read.

Reads the fields of the struct from native memory

Annotations
@Override
com.sun.jna.platform.win32 back to summary

public Class ShTypes.STRRET.UNION

extends Union
Class Inheritance
Known Direct Subclasses
com.sun.jna.platform.win32.ShTypes.STRRET.UNION.ByReference

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public byte[]
public WTypes.LPWSTR
public int

Constructor Summary

AccessConstructor and Description
public

Field Detail

cStrback to summary
public byte[] cStr
pOleStrback to summary
public WTypes.LPWSTR pOleStr
uOffsetback to summary
public int uOffset

Constructor Detail

UNIONback to summary
public UNION()
com.sun.jna.platform.win32 back to summary

public Class ShTypes.STRRET.UNION.ByReference

extends UNION
implements ByReference
Class Inheritance
All Implemented Interfaces
com.sun.jna.Structure.ByReference

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

ByReferenceback to summary
public ByReference()