C Syntax HRESULT ILTDVDBurner_getDriveId(pDVDBurner, Index, pVal))
C++ Syntax HRESULT GetDriveId(Index, pVal)
Retrieves the ID that uniquely identifies the drive in the system.
Pointer to an ILTDVDBurner interface.
Value that represents a zero-based index of the drive for which to retrieve the ID.
Pointer to a character string to be updated with the drive ID.
|S_OK||The function was successful.|
|<> S_OK||An error occurred. Refer to the Error Codes.|
Save the retrieved ID for later use: it is guaranteed to be unique and not to change.
If the function succeeds, the user is responsible for freeing the retrieved ID string by calling SysFreeString.
Required DLLs and Libraries
For a C example, refer to ILTDVDBurner::GetDriveId Example for C.
For a C++ example, refer to ILTDVDBurner::GetDriveId Example for C++.