StarBurn SDK (Software Development Kit)
ContentsIndexHome
PreviousUpNext
StarBurn_StarPort_GetDeviceInformation Function
C++
__stdcall STARBURN_IMPEX_API EXCEPTION_NUMBER StarBurn_StarPort_GetDeviceInformation(IN LONG p__LONG__StarPortDeviceTargetId, OUT PSTARPORT_DEVICE_TYPE p__PSTARPORT_DEVICE_TYPE, OUT PCHAR p__PCHAR__VendorID, IN ULONG p__ULONG__VendorIDSizeInUCHARs, OUT PCHAR p__PCHAR__ProductID, IN ULONG p__ULONG__ProductIDSizeInUCHARs, OUT PCHAR p__PCHAR__Revision, IN ULONG p__ULONG__RevisionSizeInUCHARs, OUT PULONG p__PULONG__SystemError);
Parameters 
Description 
IN LONG p__LONG__StarPortDeviceTargetId 
StarPort device TargetId we want to get device letter for.
 
OUT PSTARPORT_DEVICE_TYPE p__PSTARPORT_DEVICE_TYPE 
Pointer to the STARPORT_DEVICE_TYPE variable to store the device type.
 
OUT PCHAR p__PCHAR__VendorID 
Pointer to the buffer to receive vendor ID.
 
IN ULONG p__ULONG__VendorIDSizeInUCHARs 
The size of the buffer to receive vendor ID.
 
OUT PCHAR p__PCHAR__ProductID 
Pointer to the buffer to receive product ID.
 
IN ULONG p__ULONG__ProductIDSizeInUCHARs 
The size of the buffer to receive product ID.
 
OUT PCHAR p__PCHAR__Revision 
Pointer to the buffer to receive revision.
 
IN ULONG p__ULONG__RevisionSizeInUCHARs 
The size of the buffer to receive revision.
 
OUT PULONG p__PULONG__SystemError 
Pointer to the variable to receive system error if function would return anything except EN_SUCCESS. 

Execution status.

This function retrieves device type, vendor ID, product ID and revision for StarPort device by its target ID.

This one is for Network license holders only.

Please see StarPort GUI sample as example how to use StarBurn_StarPort_GetDeviceInformation API call.