PTRobot API
Page 24 of 41
© 2005, Primera Technology, Inc. Primera is a registered trademark and Bravo is a trademark of Primera Technology, Inc. All other trademarks are the property of
their respective companies.
//
controlled
drives.
//
//
Action:
//
PTACT_IDENTIFY -> Identify a robot
//
Description:
//
This will cause the robot to do something to visually identify itself
//
For example the Bravo units will move their printer tray.
// Return:
//
PTROBOT_OK if Successful
//
PTROBOT_SEQUENCE if this command is called out of sequence
//
PTROBOT_INTERNAL if an internal error occurred
//
PTROBOT_INVALID_ROBOT if the robot handle is invalid
//
PTROBOT_INVALID_ACTION if the robot action is invalid
//
///////////////////////////
DWORD WINAPI
PTRobot_SystemAction
(HANDLE hRobot, DWORD dwAction);
2.3.13
PTRobot_OpenCloseDrive
///////////////////////////
//
// PTRobot_OpenCloseDrive
//
// Description:
//
Function to open or close a drive
// Params:
//
hDrive
Handle to the drive (from EnumDrives)
//
dwOpen
See (Drive Open/Close) section above
//
(DRIVE_OPEN=0
DRIVE_CLOSE=1)
//
// Notes:
// Return:
//
PTROBOT_OK if Successful
//
PTROBOT_SEQUENCE if this command is called out of sequence
//
PTROBOT_INTERNAL if an internal error occurred
//
PTROBOT_INVALID_DRIVE if the drive handle is invalid
//
///////////////////////////
DWORD WINAPI
PTRobot_OpenCloseDrive
(HANDLE hDrive, DWORD dwOpen );