Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
discrecutils/dru_burning.h
/* |
dru_burning.h |
Part of the Disc Recording Utility sources for command-line tools. This |
code provides an example of prompting the user to select a device and/or |
insert media, and how to create a textual description of a device. |
*/ |
#ifndef _H_dru_burning |
#define _H_dru_burning |
#include <DiscRecording/DiscRecording.h> |
#ifdef __cplusplus |
extern "C" { |
#endif |
/* Handles an entire burn, including progress and error reporting. Returns true if successful. */ |
int druBurn(DRBurnRef burn, CFTypeRef layout); |
/* Prints a localized failure message. */ |
void druPrintFailureMessage(const char *task, CFDictionaryRef status); |
/* Handles an entire erase, including progress and error reporting. Returns true if successful. */ |
int druErase(DRDeviceRef device, int fullErase); |
#ifdef __cplusplus |
} |
#endif |
#endif /* _H_dru_burning */ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14