Retrieves the name of the disc type.
#include "ILTDVDBurner2.h"
Platform | Syntax |
---|---|
C | HRESULT ILTDVDBurner_getDiscTypeName(pDVDBurner, type, pVal) |
C++ | HRESULT GetDiscTypeName(type, pVal) |
Pointer to an ILTDVDBurner interface.
Value representing the type of the disc for which to retrieve its name. For all possible values, refer to the ILTDVDBurner::get_DiscType function.
Pointer to a character string to be updated with name of the disc type. Possible values are:
Value | Meaning |
---|---|
S_OK | The function was successful. |
<> S_OK | An error occurred. Refer to the Error Codes. |
If the function succeeds, the user is responsible for freeing the retrieved disc type string by calling SysFreeString.
Win32, x64
For a C example, refer to ILTDVDBurner::GetDiscTypeName Example for C.
For a C++ example, refer to ILTDVDBurner::GetDiscTypeName Example for C++.