|
Xeno-rat
|
Provides a generic way to store key/value pairs on an object. http://msdn.microsoft.com/en-gb/library/windows/desktop/ms704598%28v=vs.85%29.aspx. More...
Public Member Functions | |
| void | GetItem ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [In, Out] IntPtr pValue) |
| Retrieves the value associated with a key. | |
| void | GetItemType ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, out int pType) |
| Retrieves the data type of the value associated with a key. | |
| void | CompareItem ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, IntPtr value, [MarshalAs(UnmanagedType.Bool)] out bool pbResult) |
| Queries whether a stored attribute value equals a specified PROPVARIANT. | |
| void | Compare ([MarshalAs(UnmanagedType.Interface)] IMFAttributes pTheirs, int matchType, [MarshalAs(UnmanagedType.Bool)] out bool pbResult) |
| Compares the attributes on this object with the attributes on another object. | |
| void | GetUINT32 ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, out int punValue) |
| Retrieves a UINT32 value associated with a key. | |
| void | GetUINT64 ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, out long punValue) |
| Retrieves a UINT64 value associated with a key. | |
| void | GetDouble ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, out double pfValue) |
| Retrieves a double value associated with a key. | |
| void | GetGUID ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, out Guid pguidValue) |
| Retrieves a GUID value associated with a key. | |
| void | GetStringLength ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, out int pcchLength) |
| Retrieves the length of a string value associated with a key. | |
| void | GetString ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder pwszValue, int cchBufSize, out int pcchLength) |
| Retrieves a wide-character string associated with a key. | |
| void | GetAllocatedString ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [MarshalAs(UnmanagedType.LPWStr)] out string ppwszValue, out int pcchLength) |
| Retrieves a wide-character string associated with a key. This method allocates the memory for the string. | |
| void | GetBlobSize ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, out int pcbBlobSize) |
| Retrieves the length of a byte array associated with a key. | |
| void | GetBlob ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [Out, MarshalAs(UnmanagedType.LPArray)] byte[] pBuf, int cbBufSize, out int pcbBlobSize) |
| Retrieves a byte array associated with a key. | |
| void | GetAllocatedBlob ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, out IntPtr ip, out int pcbSize) |
| Retrieves a byte array associated with a key. This method allocates the memory for the array. | |
| void | GetUnknown ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [In, MarshalAs(UnmanagedType.LPStruct)] Guid riid, [MarshalAs(UnmanagedType.IUnknown)] out object ppv) |
| Retrieves an interface pointer associated with a key. | |
| void | SetItem ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, IntPtr Value) |
| Associates an attribute value with a key. | |
| void | DeleteItem ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey) |
| Removes a key/value pair from the object's attribute list. | |
| void | DeleteAllItems () |
| Removes all key/value pairs from the object's attribute list. | |
| void | SetUINT32 ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, int unValue) |
| Associates a UINT32 value with a key. | |
| void | SetUINT64 ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, long unValue) |
| Associates a UINT64 value with a key. | |
| void | SetDouble ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, double fValue) |
| Associates a double value with a key. | |
| void | SetGUID ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [In, MarshalAs(UnmanagedType.LPStruct)] Guid guidValue) |
| Associates a GUID value with a key. | |
| void | SetString ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [In, MarshalAs(UnmanagedType.LPWStr)] string wszValue) |
| Associates a wide-character string with a key. | |
| void | SetBlob ([In, MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=2)] byte[] pBuf, int cbBufSize) |
| Associates a byte array with a key. | |
| void | SetUnknown ([MarshalAs(UnmanagedType.LPStruct)] Guid guidKey, [In, MarshalAs(UnmanagedType.IUnknown)] object pUnknown) |
| Associates an IUnknown pointer with a key. | |
| void | LockStore () |
| Locks the attribute store so that no other thread can access it. | |
| void | UnlockStore () |
| Unlocks the attribute store. | |
| void | GetCount (out int pcItems) |
| Retrieves the number of attributes that are set on this object. | |
| void | GetItemByIndex (int unIndex, out Guid pGuidKey, [In, Out] IntPtr pValue) |
| Retrieves an attribute at the specified index. | |
| void | CopyAllItems ([In, MarshalAs(UnmanagedType.Interface)] IMFAttributes pDest) |
| Copies all of the attributes from this object into another attribute store. | |
Provides a generic way to store key/value pairs on an object. http://msdn.microsoft.com/en-gb/library/windows/desktop/ms704598%28v=vs.85%29.aspx.
| void NAudio.MediaFoundation.IMFAttributes.Compare | ( | [MarshalAs(UnmanagedType.Interface)] IMFAttributes | pTheirs, |
| int | matchType, | ||
| [MarshalAs(UnmanagedType.Bool)] out bool | pbResult ) |
Compares the attributes on this object with the attributes on another object.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.CompareItem | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| IntPtr | value, | ||
| [MarshalAs(UnmanagedType.Bool)] out bool | pbResult ) |
Queries whether a stored attribute value equals a specified PROPVARIANT.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.CopyAllItems | ( | [In, MarshalAs(UnmanagedType.Interface)] IMFAttributes | pDest | ) |
Copies all of the attributes from this object into another attribute store.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.DeleteAllItems | ( | ) |
Removes all key/value pairs from the object's attribute list.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.DeleteItem | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey | ) |
Removes a key/value pair from the object's attribute list.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetAllocatedBlob | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| out IntPtr | ip, | ||
| out int | pcbSize ) |
Retrieves a byte array associated with a key. This method allocates the memory for the array.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetAllocatedString | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [MarshalAs(UnmanagedType.LPWStr)] out string | ppwszValue, | ||
| out int | pcchLength ) |
Retrieves a wide-character string associated with a key. This method allocates the memory for the string.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetBlob | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [Out, MarshalAs(UnmanagedType.LPArray)] byte[] | pBuf, | ||
| int | cbBufSize, | ||
| out int | pcbBlobSize ) |
Retrieves a byte array associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetBlobSize | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| out int | pcbBlobSize ) |
Retrieves the length of a byte array associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetCount | ( | out int | pcItems | ) |
Retrieves the number of attributes that are set on this object.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetDouble | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| out double | pfValue ) |
Retrieves a double value associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetGUID | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| out Guid | pguidValue ) |
Retrieves a GUID value associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetItem | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [In, Out] IntPtr | pValue ) |
Retrieves the value associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetItemByIndex | ( | int | unIndex, |
| out Guid | pGuidKey, | ||
| [In, Out] IntPtr | pValue ) |
Retrieves an attribute at the specified index.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetItemType | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| out int | pType ) |
Retrieves the data type of the value associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetString | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder | pwszValue, | ||
| int | cchBufSize, | ||
| out int | pcchLength ) |
Retrieves a wide-character string associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetStringLength | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| out int | pcchLength ) |
Retrieves the length of a string value associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetUINT32 | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| out int | punValue ) |
Retrieves a UINT32 value associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetUINT64 | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| out long | punValue ) |
Retrieves a UINT64 value associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.GetUnknown | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [In, MarshalAs(UnmanagedType.LPStruct)] Guid | riid, | ||
| [MarshalAs(UnmanagedType.IUnknown)] out object | ppv ) |
Retrieves an interface pointer associated with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.LockStore | ( | ) |
Locks the attribute store so that no other thread can access it.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.SetBlob | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [In, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=2)] byte[] | pBuf, | ||
| int | cbBufSize ) |
Associates a byte array with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.SetDouble | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| double | fValue ) |
Associates a double value with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.SetGUID | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidValue ) |
Associates a GUID value with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.SetItem | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| IntPtr | Value ) |
Associates an attribute value with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.SetString | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [In, MarshalAs(UnmanagedType.LPWStr)] string | wszValue ) |
Associates a wide-character string with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.SetUINT32 | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| int | unValue ) |
Associates a UINT32 value with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.SetUINT64 | ( | [In, MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| long | unValue ) |
Associates a UINT64 value with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.SetUnknown | ( | [MarshalAs(UnmanagedType.LPStruct)] Guid | guidKey, |
| [In, MarshalAs(UnmanagedType.IUnknown)] object | pUnknown ) |
Associates an IUnknown pointer with a key.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.
| void NAudio.MediaFoundation.IMFAttributes.UnlockStore | ( | ) |
Unlocks the attribute store.
Implemented in NAudio.MediaFoundation.IMFActivate, NAudio.MediaFoundation.IMFMediaEvent, NAudio.MediaFoundation.IMFMediaType, and NAudio.MediaFoundation.IMFSample.