IDiscRecorder::GetRecorderGUID method (imapi.h)

Retrieves the GUID of the physical disc recorder currently associated with the recorder object.


  [in]  byte  *pbyUniqueID,
  [in]  ULONG ulBufferSize,
  [out] ULONG *pulReturnSizeRequired


[in] pbyUniqueID

Pointer to a GUID buffer to be filled in with this recorder's current GUID information. To query the required buffer size, use NULL.

[in] ulBufferSize

Size of the GUID buffer. If pbyUniqueID is NULL, this parameter must be zero.

[out] pulReturnSizeRequired

Size of the GUID information.

Return value

S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi.h
Library Uuid.lib
DLL Actxprxy.dll

See also