Struct PropVariant
- Namespace
- NAudio.CoreAudioApi.Interfaces
- Assembly
- NAudio.Wasapi.dll
from Propidl.h. http://msdn.microsoft.com/en-us/library/aa380072(VS.85).aspx contains a union so we have to do an explicit layout
public struct PropVariant
- Inherited Members
Fields
bVal
bVal.
public byte bVal
Field Value
blobVal
Binary large object.
public Blob blobVal
Field Value
boolVal
boolVal.
public short boolVal
Field Value
cVal
cVal.
public sbyte cVal
Field Value
dblVal
dblVal.
public double dblVal
Field Value
filetime
Date time.
public FILETIME filetime
Field Value
- FILETIME
fltVal
fltVal.
public float fltVal
Field Value
hVal
hVal.
public long hVal
Field Value
iVal
iVal.
public short iVal
Field Value
intVal
intVal.
public int intVal
Field Value
lVal
lVal.
public int lVal
Field Value
pointerValue
Pointer value.
public nint pointerValue
Field Value
scode
scode.
public int scode
Field Value
uhVal
uhVal.
public long uhVal
Field Value
uiVal
uiVal.
public ushort uiVal
Field Value
uintVal
uintVal.
public uint uintVal
Field Value
ulVal
ulVal.
public uint ulVal
Field Value
vt
Value type tag.
public short vt
Field Value
wReserved1
Reserved1.
public short wReserved1
Field Value
wReserved2
Reserved2.
public short wReserved2
Field Value
wReserved3
Reserved3.
public short wReserved3
Field Value
Properties
DataType
Gets the type of data in this PropVariant
public VarType DataType { get; }
Property Value
Value
Property value
public object Value { get; }
Property Value
Methods
Clear(nint)
Calls ole32!PropVariantClear on an unmanaged PROPVARIANT buffer to release any COM-allocated resources (LPWSTR, BLOB, CLSID) and zero out the variant type.
public static void Clear(nint ptr)
Parameters
ptrnint
FromLong(long)
Creates a new PropVariant containing a long value
public static PropVariant FromLong(long value)
Parameters
valuelong
Returns
GetBlobAsArrayOf<T>()
Interprets a blob as an array of structs
public T[] GetBlobAsArrayOf<T>()
Returns
- T[]
Type Parameters
T