Interface IMFActivate
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[Guid("7FEE9E9A-4A89-47A6-899C-B6A53A70FB67")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFActivate : IMFAttributes
Methods
ActivateObject(Guid, out Object)
Declaration
HResult ActivateObject(Guid riid, out object ppv)
Parameters
System.Guid
riid
|
System.Object
ppv
|
Returns
HResult
|
Compare(IMFAttributes, MFAttributesMatchType, out Boolean)
Declaration
HResult Compare(IMFAttributes pTheirs, MFAttributesMatchType MatchType, out bool pbResult)
Parameters
IMFAttributes
pTheirs
|
MFAttributesMatchType
MatchType
|
System.Boolean
pbResult
|
Returns
HResult
|
CompareItem(Guid, ConstPropVariant, out Boolean)
Declaration
HResult CompareItem(Guid guidKey, ConstPropVariant Value, out bool pbResult)
Parameters
System.Guid
guidKey
|
ConstPropVariant
Value
|
System.Boolean
pbResult
|
Returns
HResult
|
CopyAllItems(IMFAttributes)
Declaration
HResult CopyAllItems(IMFAttributes pDest)
Parameters
IMFAttributes
pDest
|
Returns
HResult
|
DeleteAllItems()
DeleteItem(Guid)
DetachObject()
GetAllocatedBlob(Guid, out IntPtr, out Int32)
Declaration
HResult GetAllocatedBlob(Guid guidKey, out IntPtr ip, out int pcbSize)
Parameters
System.Guid
guidKey
|
System.IntPtr
ip
|
System.Int32
pcbSize
|
Returns
HResult
|
GetAllocatedString(Guid, out String, out Int32)
Declaration
HResult GetAllocatedString(Guid guidKey, out string ppwszValue, out int pcchLength)
Parameters
System.Guid
guidKey
|
System.String
ppwszValue
|
System.Int32
pcchLength
|
Returns
HResult
|
GetBlob(Guid, Byte[], Int32, out Int32)
Declaration
HResult GetBlob(Guid guidKey, byte[] pBuf, int cbBufSize, out int pcbBlobSize)
Parameters
System.Guid
guidKey
|
System.Byte[]
pBuf
|
System.Int32
cbBufSize
|
System.Int32
pcbBlobSize
|
Returns
HResult
|
GetBlobSize(Guid, out Int32)
Declaration
HResult GetBlobSize(Guid guidKey, out int pcbBlobSize)
Parameters
System.Guid
guidKey
|
System.Int32
pcbBlobSize
|
Returns
HResult
|
GetCount(out Int32)
GetDouble(Guid, out Double)
Declaration
HResult GetDouble(Guid guidKey, out double pfValue)
Parameters
System.Guid
guidKey
|
System.Double
pfValue
|
Returns
HResult
|
GetGUID(Guid, out Guid)
Declaration
HResult GetGUID(Guid guidKey, out Guid pguidValue)
Parameters
System.Guid
guidKey
|
System.Guid
pguidValue
|
Returns
HResult
|
GetItem(Guid, PropVariant)
Declaration
HResult GetItem(Guid guidKey, PropVariant pValue)
Parameters
System.Guid
guidKey
|
PropVariant
pValue
|
Returns
HResult
|
GetItemByIndex(Int32, out Guid, PropVariant)
Declaration
HResult GetItemByIndex(int unIndex, out Guid pguidKey, PropVariant pValue)
Parameters
System.Int32
unIndex
|
System.Guid
pguidKey
|
PropVariant
pValue
|
Returns
HResult
|
GetItemType(Guid, out MFAttributeType)
Declaration
HResult GetItemType(Guid guidKey, out MFAttributeType pType)
Parameters
System.Guid
guidKey
|
MFAttributeType
pType
|
Returns
HResult
|
GetString(Guid, StringBuilder, Int32, out Int32)
Declaration
HResult GetString(Guid guidKey, StringBuilder pwszValue, int cchBufSize, out int pcchLength)
Parameters
System.Guid
guidKey
|
System.Text.StringBuilder
pwszValue
|
System.Int32
cchBufSize
|
System.Int32
pcchLength
|
Returns
HResult
|
GetStringLength(Guid, out Int32)
Declaration
HResult GetStringLength(Guid guidKey, out int pcchLength)
Parameters
System.Guid
guidKey
|
System.Int32
pcchLength
|
Returns
HResult
|
GetUINT32(Guid, out Int32)
Declaration
HResult GetUINT32(Guid guidKey, out int punValue)
Parameters
System.Guid
guidKey
|
System.Int32
punValue
|
Returns
HResult
|
GetUINT64(Guid, out Int64)
Declaration
HResult GetUINT64(Guid guidKey, out long punValue)
Parameters
System.Guid
guidKey
|
System.Int64
punValue
|
Returns
HResult
|
GetUnknown(Guid, Guid, out Object)
Declaration
HResult GetUnknown(Guid guidKey, Guid riid, out object ppv)
Parameters
System.Guid
guidKey
|
System.Guid
riid
|
System.Object
ppv
|
Returns
HResult
|
LockStore()
SetBlob(Guid, Byte[], Int32)
Declaration
HResult SetBlob(Guid guidKey, byte[] pBuf, int cbBufSize)
Parameters
System.Guid
guidKey
|
System.Byte[]
pBuf
|
System.Int32
cbBufSize
|
Returns
HResult
|
SetDouble(Guid, Double)
Declaration
HResult SetDouble(Guid guidKey, double fValue)
Parameters
System.Guid
guidKey
|
System.Double
fValue
|
Returns
HResult
|
SetGUID(Guid, Guid)
Declaration
HResult SetGUID(Guid guidKey, Guid guidValue)
Parameters
System.Guid
guidKey
|
System.Guid
guidValue
|
Returns
HResult
|
SetItem(Guid, ConstPropVariant)
Declaration
HResult SetItem(Guid guidKey, ConstPropVariant Value)
Parameters
System.Guid
guidKey
|
ConstPropVariant
Value
|
Returns
HResult
|
SetString(Guid, String)
Declaration
HResult SetString(Guid guidKey, string wszValue)
Parameters
System.Guid
guidKey
|
System.String
wszValue
|
Returns
HResult
|
SetUINT32(Guid, Int32)
Declaration
HResult SetUINT32(Guid guidKey, int unValue)
Parameters
System.Guid
guidKey
|
System.Int32
unValue
|
Returns
HResult
|
SetUINT64(Guid, Int64)
Declaration
HResult SetUINT64(Guid guidKey, long unValue)
Parameters
System.Guid
guidKey
|
System.Int64
unValue
|
Returns
HResult
|
SetUnknown(Guid, Object)
Declaration
HResult SetUnknown(Guid guidKey, object pUnknown)
Parameters
System.Guid
guidKey
|
System.Object
pUnknown
|
Returns
HResult
|