IltmmCapture::EnterEdit

#include "ltmm.h"

C Syntax

HRESULT IltmmCapture_EnterEdit (pCapture)

C++ Syntax

HRESULT EditGraph()

 

IltmmCapture *pCapture;

/* pointer to an interface */

Enters editing mode by preventing the capture object from rebuilding the graph, while devices are being selected.

Parameter

Description

pCapture

Pointer to an IltmmCapture interface.

Returns

S_OK

The function was successful.

<> S_OK

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

Comments

IltmmCapture::EnterEdit and IltmmCapture::LeaveEdit help speed up application startup.

Required DLLs and Libraries

LTMM

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

Platforms

Win32, x64

See Also

Elements:

IltmmCapture::LeaveEdit, IltmmCapture Interface

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmCapture::EnterEdit Example for C.

For a C++ example, refer to IltmmCapture::EnterEdit Example for C++.