ILTDvdWriter::GetBytesWritten

#include "ILTDvdWriter2.h"

C Syntax

HRESULT ILTDvdWriter__getBytesWritten(pDVDWriter, pHigh, pVal)

C++ Syntax

HRESULT GetBytesWritten(pHigh, pVal)

 

ILTDvdWriter *pDVDWriter;

/* pointer to an interface */

long *pHigh;

/* pointer to a variable */

long *pVal

/* pointer to a variable */

Retrieves the actual number of bytes that have been written to disc during the current writing process (current chapter The name for each individual video file on a DVD. For example, under the titl The name for a group of related video files (called "Chapters") on your DVD. For example, for a DVD called "My Summer Vacation," you might have the titles "Water Skiing," "New Friends," and "Hiking." For each of those titles, you might have one or more different video files.e "Water Skiing", you might have the chapters "My first try," "My first wreck," and "My first jump.").

Parameter

Description

pDVDWriter

Pointer to an ILTDvdWriter interface.

pHigh

Pointer to a variable to be updated with the high-order 32 bits of the number of bytes written.

pVal

Pointer to a variable to be updated with the low-order 32 bits of the number of bytes written.

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.

Required DLLs and Libraries

LTDVDWRT
DSKernel

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

Functions:

ILTDvdWriter::get_TitleBreak, ILTDvdWriter::put_TitleBreak

Topics:

Video Streaming Function Groups, Multimedia Function Group, DVD Function Groups, The LEAD DVD Writer and Menus Titles and Chapters

Example

For a C example, refer to Creating DVD Images for C.

For a C++ example, refer to Creating DVD Images for C++.