Skip to content

Latest commit

 

History

History
119 lines (98 loc) · 3.01 KB

nf-imapi2-idiscrecorder2ex-getdevicedescriptor.md

File metadata and controls

119 lines (98 loc) · 3.01 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:imapi2.IDiscRecorder2Ex.GetDeviceDescriptor
IDiscRecorder2Ex::GetDeviceDescriptor (imapi2.h)
Retrieves the device descriptor for the device.
GetDeviceDescriptor
GetDeviceDescriptor method [IMAPI]
GetDeviceDescriptor method [IMAPI]
IDiscRecorder2Ex interface
IDiscRecorder2Ex interface [IMAPI]
GetDeviceDescriptor method
IDiscRecorder2Ex.GetDeviceDescriptor
IDiscRecorder2Ex::GetDeviceDescriptor
imapi.idiscrecorder2ex_getdevicedescriptor
imapi2/IDiscRecorder2Ex::GetDeviceDescriptor
imapi\idiscrecorder2ex_getdevicedescriptor.htm
imapi
c0c22ce6-daf4-4218-afce-c773d607638b
12/05/2018
GetDeviceDescriptor, GetDeviceDescriptor method [IMAPI], GetDeviceDescriptor method [IMAPI],IDiscRecorder2Ex interface, IDiscRecorder2Ex interface [IMAPI],GetDeviceDescriptor method, IDiscRecorder2Ex.GetDeviceDescriptor, IDiscRecorder2Ex::GetDeviceDescriptor, imapi.idiscrecorder2ex_getdevicedescriptor, imapi2/IDiscRecorder2Ex::GetDeviceDescriptor
imapi2.h
Windows
Windows Vista, Windows XP with SP2 [desktop apps only]
Windows Server 2003 [desktop apps only]
Imapi2.idl
Windows
19H1
IDiscRecorder2Ex::GetDeviceDescriptor
imapi2/IDiscRecorder2Ex::GetDeviceDescriptor
c++
APIRef
kbSyntax
COM
imapi2.h
IDiscRecorder2Ex.GetDeviceDescriptor

IDiscRecorder2Ex::GetDeviceDescriptor

-description

Retrieves the device descriptor for the device.

-parameters

-param data [out]

Data buffer that contains the descriptor of the storage device. For details of the contents of the data buffer, see the STORAGE_DEVICE_DESCRIPTOR structure in the DDK

When done, call the CoTaskMemFree function to free the memory.

-param byteSize [out]

Size, in bytes, of the data buffer.

-returns

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:

Return code Description
E_POINTER
Pointer is not valid.

Value: 0x80004003

E_FAIL
Unspecified failure.

Value: 0x80004005

E_OUTOFMEMORY
Failed to allocate the required memory.

Value: 0x8007000E

-see-also

IDiscRecorder2Ex