#include "ltmm.h"

C Syntax HRESULT IltmmCapture_get_AudioCaptureFormats(pCapture, pVal)
C++ Syntax HRESULT get_AudioCaptureFormats(pVal)

IltmmCapture * pCapture; pointer to an interface
IltmmAudioFormats ** pVal; address of a pointer to an interface

Retrieves a pointer to an IltmmAudioFormats interface.



pCapture Pointer to an IltmmCapture interface.
pVal Pointer to a variable to be updated with a pointer to an IltmmAudioFormats interface.



The function ran successfully.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.


The IltmmAudioFormats interface, accessed through the AudioFormats parameter, provides access to a series of IltmmAudioFormat interfaces, which provide information on the characteristics of one or more audio formats.

If the function succeeds, the user should release the returned interface pointer by calling the interfaces Release method.

Required DLLs and Libraries


For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.


Win32, x64

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Multimedia C API Help