Retrieves the ID that uniquely identifies the drive in the system.
|C||HRESULT ILTDVDBurner_getDriveId(pDVDBurner, Index, pVal)|
|C++||HRESULT GetDriveId(Index, pVal)|
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.
For a C example, refer to ILTDVDBurner::GetDriveId Example for C.
For a C++ example, refer to ILTDVDBurner::GetDriveId Example for C++.