Xeno-rat
Loading...
Searching...
No Matches
NAudio.Dmo.DmoInterop Class Reference
Collaboration diagram for NAudio.Dmo.DmoInterop:

Public Member Functions

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.
 

Member Function Documentation

◆ DMOEnum()

static int NAudio.Dmo.DmoInterop.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.

Parameters
guidCategoryThe category of DMOs to enumerate.
flagsFlags that control the enumeration behavior.
inTypesThe number of input media types in the inTypesArray .
inTypesArrayAn array of input media types to match when enumerating DMOs.
outTypesThe number of output media types in the outTypesArray .
outTypesArrayAn array of output media types to match when enumerating DMOs.
enumDmoWhen this method returns, contains an enumerator for the DMOs that match the specified criteria.
Exceptions
System.EntryPointNotFoundExceptionThe specified function could not be found in the specified DLL.
System.DllNotFoundExceptionThe specified DLL was not found.
Here is the caller graph for this function:

◆ 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
clsidDMOThe CLSID (Class Identifier) of the DMO for which to retrieve the name.
nameA 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
mediaTypeThe DMO media type to be freed.
Returns
An integer value indicating the result of the operation.
Here is the caller graph for this function:

◆ 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
mediaTypeThe media type to be initialized.
formatBlockBytesThe size of the format block in bytes.
Returns
Returns an integer indicating the result of the initialization process.
Exceptions
System.EntryPointNotFoundExceptionThrown when the entry point for the specified function in the specified DLL is not found.
Here is the caller graph for this function:

The documentation for this class was generated from the following file: