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 class
RecordInfo.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:
RecordInit
in interfaceIRecordInfo
- Parameters:
pvNew
- the pv new- Returns:
- the hresult
-
RecordClear
public WinNT.HRESULT RecordClear(WinDef.PVOID pvExisting)
Record clear.- Specified by:
RecordClear
in interfaceIRecordInfo
- Parameters:
pvExisting
- the pv existing- Returns:
- the hresult
-
RecordCopy
public WinNT.HRESULT RecordCopy(WinDef.PVOID pvExisting, WinDef.PVOID pvNew)
Record copy.- Specified by:
RecordCopy
in 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:
GetGuid
in interfaceIRecordInfo
- Parameters:
pguid
- the pguid- Returns:
- the hresult
-
GetName
public WinNT.HRESULT GetName(WTypes.BSTR pbstrName)
Gets the name.- Specified by:
GetName
in interfaceIRecordInfo
- Parameters:
pbstrName
- the pbstr name- Returns:
- the hresult
-
GetSize
public WinNT.HRESULT GetSize(WinDef.ULONG pcbSize)
Gets the size.- Specified by:
GetSize
in interfaceIRecordInfo
- Parameters:
pcbSize
- the pcb size- Returns:
- the hresult
-
GetTypeInfo
public WinNT.HRESULT GetTypeInfo(ITypeInfo ppTypeInfo)
Gets the type info.- Specified by:
GetTypeInfo
in 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:
GetField
in 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:
GetFieldNoCopy
in 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:
PutField
in 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:
PutFieldNoCopy
in 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:
GetFieldNames
in 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:
IsMatchingType
in interfaceIRecordInfo
- Parameters:
pRecordInfo
- the record info- Returns:
- the bool
-
RecordCreate
public WinDef.PVOID RecordCreate()
Record create.- Specified by:
RecordCreate
in interfaceIRecordInfo
- Returns:
- the pvoid
-
RecordCreateCopy
public WinNT.HRESULT RecordCreateCopy(WinDef.PVOID pvSource, WinDef.PVOID ppvDest)
Record create copy.- Specified by:
RecordCreateCopy
in interfaceIRecordInfo
- Parameters:
pvSource
- the pv sourceppvDest
- the ppv dest- Returns:
- the hresult
-
RecordDestroy
public WinNT.HRESULT RecordDestroy(WinDef.PVOID pvRecord)
Record destroy.- Specified by:
RecordDestroy
in interfaceIRecordInfo
- Parameters:
pvRecord
- the pv record- Returns:
- the hresult
-
-