Package com.sun.jna.platform.win32.COM
Class EnumVariant
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.win32.COM.COMInvoker
com.sun.jna.platform.win32.COM.Unknown
com.sun.jna.platform.win32.COM.EnumVariant
- All Implemented Interfaces:
NativeMapped,IEnumVariant,IUnknown
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.jna.platform.win32.COM.Unknown
Unknown.ByReference -
Field Summary
FieldsFields inherited from interface com.sun.jna.platform.win32.COM.IUnknown
IID_IUNKNOWN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClone()Creates a copy of the current state of enumeration.Next(int count) Retrieves the specified items in the enumeration sequence.voidReset()Resets the enumeration sequence to the beginning.voidSkip(int count) Attempts to skip over the next celt elements in the enumeration sequence.Methods inherited from class com.sun.jna.platform.win32.COM.Unknown
AddRef, QueryInterface, ReleaseMethods inherited from class com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidMethods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sun.jna.platform.win32.COM.IUnknown
AddRef, QueryInterface, Release
-
Field Details
-
IID
-
REFIID
-
-
Constructor Details
-
EnumVariant
public EnumVariant() -
EnumVariant
-
-
Method Details
-
Next
Description copied from interface:IEnumVariantRetrieves the specified items in the enumeration sequence.Count is the upper limit and less values can be retrieved.
- Specified by:
Nextin interfaceIEnumVariant- Parameters:
count- maximum number of elements to retrieve- Returns:
- array of VARIANTs
-
Skip
public void Skip(int count) Description copied from interface:IEnumVariantAttempts to skip over the next celt elements in the enumeration sequence.- Specified by:
Skipin interfaceIEnumVariant- Parameters:
count- elements to skip
-
Reset
public void Reset()Description copied from interface:IEnumVariantResets the enumeration sequence to the beginning.- Specified by:
Resetin interfaceIEnumVariant
-
Clone
Description copied from interface:IEnumVariantCreates a copy of the current state of enumeration.- Specified by:
Clonein interfaceIEnumVariant- Returns:
- clone of the backing enumeration
-