|
| static int | DMOEnum ([In] ref Guid guidCategory, DmoEnumFlags flags, int inTypes, [In] DmoPartialMediaType[] inTypesArray, int outTypes, [In] DmoPartialMediaType[] outTypesArray, out IEnumDmo enumDmo) |
| | Enumerates the DMOs (DirectX Media Objects) that are registered in the system and returns an enumerator for the DMOs that match the specified criteria.
|
| |
| static int | MoFreeMediaType ([In] ref DmoMediaType mediaType) |
| | Frees the memory associated with the specified Direct Media Object (DMO) media type.
|
| |
| static int | MoInitMediaType ([In, Out] ref DmoMediaType mediaType, int formatBlockBytes) |
| | Initializes a media type using the specified format block size.
|
| |
| static int | DMOGetName ([In] ref Guid clsidDMO, [Out] StringBuilder name) |
| | Retrieves the name of a DMO (DirectX Media Object) identified by the specified CLSID.
|
| |
◆ DMOEnum()
Enumerates the DMOs (DirectX Media Objects) that are registered in the system and returns an enumerator for the DMOs that match the specified criteria.
- Parameters
-
| guidCategory | The category of DMOs to enumerate. |
| flags | Flags that control the enumeration behavior. |
| inTypes | The number of input media types in the inTypesArray . |
| inTypesArray | An array of input media types to match when enumerating DMOs. |
| outTypes | The number of output media types in the outTypesArray . |
| outTypesArray | An array of output media types to match when enumerating DMOs. |
| enumDmo | When this method returns, contains an enumerator for the DMOs that match the specified criteria. |
- Exceptions
-
| System.EntryPointNotFoundException | The specified function could not be found in the specified DLL. |
| System.DllNotFoundException | The specified DLL was not found. |
◆ DMOGetName()
| static int NAudio.Dmo.DmoInterop.DMOGetName |
( |
[In] ref Guid | clsidDMO, |
|
|
[Out] StringBuilder | name ) |
Retrieves the name of a DMO (DirectX Media Object) identified by the specified CLSID.
- Parameters
-
| clsidDMO | The CLSID (Class Identifier) of the DMO for which to retrieve the name. |
| name | A preallocated StringBuilder to store the name of the DMO. |
- Returns
- An integer representing the result of the operation.
◆ MoFreeMediaType()
| static int NAudio.Dmo.DmoInterop.MoFreeMediaType |
( |
[In] ref DmoMediaType | mediaType | ) |
|
Frees the memory associated with the specified Direct Media Object (DMO) media type.
- Parameters
-
| mediaType | The DMO media type to be freed. |
- Returns
- An integer value indicating the result of the operation.
◆ MoInitMediaType()
| static int NAudio.Dmo.DmoInterop.MoInitMediaType |
( |
[In, Out] ref DmoMediaType | mediaType, |
|
|
int | formatBlockBytes ) |
Initializes a media type using the specified format block size.
- Parameters
-
| mediaType | The media type to be initialized. |
| formatBlockBytes | The size of the format block in bytes. |
- Returns
- Returns an integer indicating the result of the initialization process.
- Exceptions
-
| System.EntryPointNotFoundException | Thrown when the entry point for the specified function in the specified DLL is not found. |
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Wasapi/Dmo/DmoInterop.cs