Package com.sun.jna.platform.win32.COM
Class RecordInfo
- 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.RecordInfo
-
- All Implemented Interfaces:
NativeMapped,IRecordInfo,IUnknown
- Direct Known Subclasses:
RecordInfo.ByReference
public class RecordInfo extends Unknown implements IRecordInfo
Wrapper class for the IRecordInfo interface.- Author:
- Tobias Wolf, wolf.tobias@gmx.net
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecordInfo.ByReference
-
Field Summary
-
Fields inherited from interface com.sun.jna.platform.win32.COM.IRecordInfo
IID_IRecordInfo
-
Fields inherited from interface com.sun.jna.platform.win32.COM.IUnknown
IID_IUNKNOWN
-
-
Constructor Summary
Constructors Constructor Description RecordInfo()Instantiates a new i record info.RecordInfo(Pointer pvInstance)Instantiates a new i record info.
-
Method Summary
-
Methods inherited from class com.sun.jna.platform.win32.COM.Unknown
AddRef, QueryInterface, Release
-
Methods inherited from class com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
-
Methods inherited from class com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.jna.platform.win32.COM.IUnknown
AddRef, QueryInterface, Release
-
-
-
-
Constructor Detail
-
RecordInfo
public RecordInfo()
Instantiates a new i record info.
-
RecordInfo
public RecordInfo(Pointer pvInstance)
Instantiates a new i record info.- Parameters:
pvInstance- the pv instance
-
-
Method Detail
-
RecordInit
public WinNT.HRESULT RecordInit(WinDef.PVOID pvNew)
Record init.- Specified by:
RecordInitin interfaceIRecordInfo- Parameters:
pvNew- the pv new- Returns:
- the hresult
-
RecordClear
public WinNT.HRESULT RecordClear(WinDef.PVOID pvExisting)
Record clear.- Specified by:
RecordClearin interfaceIRecordInfo- Parameters:
pvExisting- the pv existing- Returns:
- the hresult
-
RecordCopy
public WinNT.HRESULT RecordCopy(WinDef.PVOID pvExisting, WinDef.PVOID pvNew)
Record copy.- Specified by:
RecordCopyin interfaceIRecordInfo- Parameters:
pvExisting- the pv existingpvNew- the pv new- Returns:
- the hresult
-
GetGuid
public WinNT.HRESULT GetGuid(Guid.GUID pguid)
Gets the guid.- Specified by:
GetGuidin interfaceIRecordInfo- Parameters:
pguid- the pguid- Returns:
- the hresult
-
GetName
public WinNT.HRESULT GetName(WTypes.BSTR pbstrName)
Gets the name.- Specified by:
GetNamein interfaceIRecordInfo- Parameters:
pbstrName- the pbstr name- Returns:
- the hresult
-
GetSize
public WinNT.HRESULT GetSize(WinDef.ULONG pcbSize)
Gets the size.- Specified by:
GetSizein interfaceIRecordInfo- Parameters:
pcbSize- the pcb size- Returns:
- the hresult
-
GetTypeInfo
public WinNT.HRESULT GetTypeInfo(ITypeInfo ppTypeInfo)
Gets the type info.- Specified by:
GetTypeInfoin interfaceIRecordInfo- Parameters:
ppTypeInfo- the pp type info- Returns:
- the hresult
-
GetField
public WinNT.HRESULT GetField(WinDef.PVOID pvData, WString szFieldName, Variant.VARIANT pvarField)
Gets the field.- Specified by:
GetFieldin interfaceIRecordInfo- Parameters:
pvData- the pv dataszFieldName- the sz field namepvarField- the pvar field- Returns:
- the hresult
-
GetFieldNoCopy
public WinNT.HRESULT GetFieldNoCopy(WinDef.PVOID pvData, WString szFieldName, Variant.VARIANT pvarField, WinDef.PVOID ppvDataCArray)
Gets the field no copy.- Specified by:
GetFieldNoCopyin interfaceIRecordInfo- Parameters:
pvData- the pv dataszFieldName- the sz field namepvarField- the pvar fieldppvDataCArray- the ppv data c array- Returns:
- the hresult
-
PutField
public WinNT.HRESULT PutField(WinDef.ULONG wFlags, WinDef.PVOID pvData, WString szFieldName, Variant.VARIANT pvarField)
Put field.- Specified by:
PutFieldin interfaceIRecordInfo- Parameters:
wFlags- the w flagspvData- the pv dataszFieldName- the sz field namepvarField- the pvar field- Returns:
- the hresult
-
PutFieldNoCopy
public WinNT.HRESULT PutFieldNoCopy(WinDef.ULONG wFlags, WinDef.PVOID pvData, WString szFieldName, Variant.VARIANT pvarField)
Put field no copy.- Specified by:
PutFieldNoCopyin interfaceIRecordInfo- Parameters:
wFlags- the w flagspvData- the pv dataszFieldName- the sz field namepvarField- the pvar field- Returns:
- the hresult
-
GetFieldNames
public WinNT.HRESULT GetFieldNames(WinDef.ULONG pcNames, WTypes.BSTR rgBstrNames)
Gets the field names.- Specified by:
GetFieldNamesin interfaceIRecordInfo- Parameters:
pcNames- the pc namesrgBstrNames- the rg bstr names- Returns:
- the hresult
-
IsMatchingType
public WinDef.BOOL IsMatchingType(IRecordInfo pRecordInfo)
Checks if is matching type.- Specified by:
IsMatchingTypein interfaceIRecordInfo- Parameters:
pRecordInfo- the record info- Returns:
- the bool
-
RecordCreate
public WinDef.PVOID RecordCreate()
Record create.- Specified by:
RecordCreatein interfaceIRecordInfo- Returns:
- the pvoid
-
RecordCreateCopy
public WinNT.HRESULT RecordCreateCopy(WinDef.PVOID pvSource, WinDef.PVOID ppvDest)
Record create copy.- Specified by:
RecordCreateCopyin interfaceIRecordInfo- Parameters:
pvSource- the pv sourceppvDest- the ppv dest- Returns:
- the hresult
-
RecordDestroy
public WinNT.HRESULT RecordDestroy(WinDef.PVOID pvRecord)
Record destroy.- Specified by:
RecordDestroyin interfaceIRecordInfo- Parameters:
pvRecord- the pv record- Returns:
- the hresult
-
-