PTRobot API
Page 14 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.
2.1.12
PTRobot_SetApplicationID
///////////////////////////
//
// PTRobot_SetApplicationID
//
// Description:
//
Function to set the Application ID.
//
The ID value is assigned for each application by Primera as needed.
//
Only applications that require special functionality will require this.
//
(note most applications will not need this).
//
// Params:
//
dwAppID
Application ID specified by Primera
//
// Notes:
// Return:
//
PTROBOT_OK if Successful
//
PTROBOT_INTERNAL if an internal error occurred
//
///////////////////////////
DWORD WINAPI
PTRobot_SetApplicationID
( DWORD dwAppID );
2.2 PTRobot Info/Status Functions
2.2.1
PTRobot_GetDriveInfo
///////////////////////////
//
// PTRobot_GetDriveInfo
//
// Description:
//
Function to get the drive info for a particular
//
drive handle.
// Params:
//
hDrive
Handle to the drive (from EnumDrives)
//
pDrvInfo
points to a
PTDriveInfo
structure.
// 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_GetDriveInfo
(HANDLE hDrive, PTDriveInfo
*
pDrvInfo);
2.2.2
PTRobot_GetRobotInfo
///////////////////////////
//
// PTRobot_GetRobotInfo
//