CD/DVD/BD Burning
This category covers the calls to access, burn, and erase optical disks.
Functions
HSDCError HSDCAPI HSDCOpticalRecorderGetLetters (char **pJstr)
Obtains the drive letters of the drives that support recording.
HSDCError HSDCAPI HSDCOpticalRecorderGetDriveInformation (const wchar_t *path, char **pJstr)
Retrieves information related to an optical recorder including its capabilities. This function doesn't provide information related to inserted optical disks.
HSDCError HSDCAPI HSDCOpticalRecorderGetDiskInformation (const wchar_t *path, char **pJstr)
Retrieves information related to the inserted optical disk.
HSDCError HSDCAPI HSDCOpticalRecorderBurn (const wchar_t *path, const char *jstr)
Burns an encrypted optical disk. This is an asynchronous call, notifications are provided by the callback registered previously with HSDCRegisterOpticalRecorderNotification.
HSDCError HSDCAPI HSDCOpticalRecorderErase (const wchar_t *path, const char *jstr)
Erases a rewritable optical disk. This is an asynchronous call, notifications are provided by the callback registered previously with HSDCRegisterOpticalRecorderNotification.
HSDCError HSDCAPI HSDCOpticalRecorderCancel (const wchar_t *path)
Cancels a write operation in progress that was previously initiated by HSDCOpticalRecorderBurn or HSDCOpticalRecorderErase.
Function Documentation
HSDCOpticalRecorderGetLetters()
HSDCError HSDCAPI HSDCOpticalRecorderGetLetters ( char ** pJstr )
Obtains the drive letters of the drives that support recording.
Parameters
pJstr |
[out] JSON as below: Copy
|
HSDCOpticalRecorderGetDriveInformation()
HSDCError HSDCAPI HSDCOpticalRecorderGetDriveInformation ( const wchar_t * path, char ** pJstr )
Retrieves information related to an optical recorder including its capabilities. This function doesn't provide information related to inserted optical disks.
Parameters
path |
Path of the optical recorder. |
pJstr |
Copy
|
HSDCOpticalRecorderGetDiskInformation()
HSDCError HSDCAPI HSDCOpticalRecorderGetDiskInformation ( const wchar_t * path, char ** pJstr )
Retrieves information related to the inserted optical disk.
Parameters
path |
Unicode string identifying the optical recorder. |
pJstr |
Returns a JSON string with all details, formatted as below: Copy
|
HSDCOpticalRecorderBurn()
HSDCError HSDCAPI HSDCOpticalRecorderBurn ( const wchar_t * path, const char * jstr )
Burns an encrypted optical disk. This is an asynchronous call, notifications are provided by the callback registered previously with HSDCRegisterOpticalRecorderNotification.
Parameters
path |
The path of the optical drive. |
jstr |
JSON string with all inputs, formatted as below: Copy
|
HSDCOpticalRecorderErase()
HSDCError HSDCAPI HSDCOpticalRecorderErase ( const wchar_t * path, const char * jstr )
Erases a rewritable optical disk. This is an asynchronous call, notifications are provided by the callback registered previously with HSDCRegisterOpticalRecorderNotification.
Parameters
path |
Path of the disk to erases |
jstr |
Operation details as a JSON string: Copy
|
HSDCOpticalRecorderCancel()
HSDCError HSDCAPI HSDCOpticalRecorderCancel ( const wchar_t * path )
Cancels a write operation in progress previously initiated by HSDCOpticalRecorderBurn or HSDCOpticalRecorderErase.
Parameters
path |
The optical drive against which the prior write operation was initiated and against which the cancellation should occur. |