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
Wrapper class for the IRecordInfo interface.
- Author:
- Tobias Wolf, wolf.tobias@gmx.net
-
Nested Class Summary
Nested Classes -
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
ConstructorsConstructorDescriptionInstantiates a new i record info.RecordInfo
(Pointer pvInstance) Instantiates a new i record info. -
Method Summary
Modifier and TypeMethodDescriptionGetField
(WinDef.PVOID pvData, WString szFieldName, Variant.VARIANT pvarField) Gets the field.GetFieldNames
(WinDef.ULONG pcNames, WTypes.BSTR rgBstrNames) Gets the field names.GetFieldNoCopy
(WinDef.PVOID pvData, WString szFieldName, Variant.VARIANT pvarField, WinDef.PVOID ppvDataCArray) Gets the field no copy.Gets the guid.GetName
(WTypes.BSTR pbstrName) Gets the name.GetSize
(WinDef.ULONG pcbSize) Gets the size.GetTypeInfo
(ITypeInfo ppTypeInfo) Gets the type info.IsMatchingType
(IRecordInfo pRecordInfo) Checks if is matching type.PutField
(WinDef.ULONG wFlags, WinDef.PVOID pvData, WString szFieldName, Variant.VARIANT pvarField) Put field.PutFieldNoCopy
(WinDef.ULONG wFlags, WinDef.PVOID pvData, WString szFieldName, Variant.VARIANT pvarField) Put field no copy.RecordClear
(WinDef.PVOID pvExisting) Record clear.RecordCopy
(WinDef.PVOID pvExisting, WinDef.PVOID pvNew) Record copy.Record create.RecordCreateCopy
(WinDef.PVOID pvSource, WinDef.PVOID ppvDest) Record create copy.RecordDestroy
(WinDef.PVOID pvRecord) Record destroy.RecordInit
(WinDef.PVOID pvNew) Record init.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 Details
-
RecordInfo
public RecordInfo()Instantiates a new i record info. -
RecordInfo
Instantiates a new i record info.- Parameters:
pvInstance
- the pv instance
-
-
Method Details
-
RecordInit
Record init.- Specified by:
RecordInit
in interfaceIRecordInfo
- Parameters:
pvNew
- the pv new- Returns:
- the hresult
-
RecordClear
Record clear.- Specified by:
RecordClear
in interfaceIRecordInfo
- Parameters:
pvExisting
- the pv existing- Returns:
- the hresult
-
RecordCopy
Record copy.- Specified by:
RecordCopy
in interfaceIRecordInfo
- Parameters:
pvExisting
- the pv existingpvNew
- the pv new- Returns:
- the hresult
-
GetGuid
Gets the guid.- Specified by:
GetGuid
in interfaceIRecordInfo
- Parameters:
pguid
- the pguid- Returns:
- the hresult
-
GetName
Gets the name.- Specified by:
GetName
in interfaceIRecordInfo
- Parameters:
pbstrName
- the pbstr name- Returns:
- the hresult
-
GetSize
Gets the size.- Specified by:
GetSize
in interfaceIRecordInfo
- Parameters:
pcbSize
- the pcb size- Returns:
- the hresult
-
GetTypeInfo
Gets the type info.- Specified by:
GetTypeInfo
in interfaceIRecordInfo
- Parameters:
ppTypeInfo
- the pp type info- Returns:
- the hresult
-
GetField
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
Gets the field names.- Specified by:
GetFieldNames
in interfaceIRecordInfo
- Parameters:
pcNames
- the pc namesrgBstrNames
- the rg bstr names- Returns:
- the hresult
-
IsMatchingType
Checks if is matching type.- Specified by:
IsMatchingType
in interfaceIRecordInfo
- Parameters:
pRecordInfo
- the record info- Returns:
- the bool
-
RecordCreate
Record create.- Specified by:
RecordCreate
in interfaceIRecordInfo
- Returns:
- the pvoid
-
RecordCreateCopy
Record create copy.- Specified by:
RecordCreateCopy
in interfaceIRecordInfo
- Parameters:
pvSource
- the pv sourceppvDest
- the ppv dest- Returns:
- the hresult
-
RecordDestroy
Record destroy.- Specified by:
RecordDestroy
in interfaceIRecordInfo
- Parameters:
pvRecord
- the pv record- Returns:
- the hresult
-