StarBurn SDK (Software Development Kit) |
__stdcall STARBURN_IMPEX_API EXCEPTION_NUMBER StarBurn_StarPort_DeviceAddLocal(IN STARPORT_DEVICE_TYPE p__STARPORT_DEVICE_TYPE, IN PCHAR p__PCHAR__StarPortDeviceName, OUT PLONG p__PLONG__StarPortDeviceTargetId, OUT PULONG p__PULONG__SystemError);
Parameters | Description |
IN STARPORT_DEVICE_TYPE p__STARPORT_DEVICE_TYPE | StarPort device type (See STARPORT_DEVICE_TYPE enum for more information). |
IN PCHAR p__PCHAR__StarPortDeviceName | Pointer to device name we want to add. |
OUT PLONG p__PLONG__StarPortDeviceTargetId | Pointer to the variable to receive StarPort device TargetId after device object creation. |
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 adds local device (RAM disk, hard disk or DVD-ROM emulation) to StarPort virtual storage controller. StarPort acts like RAM disk, hard disk and DVD emulator, AoE (ATA-over-Ethernet) and iSCSI (SCSI-over-IP) initiator driver.
This one is for Enterprise or Network license holders only.
Please see StarPort sample as example how to use StarBurn_StarPort_DeviceAddLocal API call.