National Instruments 320682C Musical Toy Instrument User Manual


 
Chapter 8 Utility Library
© National Instruments Corporation 8-21 LabWindows/CVI Standard Libraries
Return Value
result
integer Result of operation.
Return Codes
0 Success.
-1 Current directory is on a network drive that is not mapped to a local drive.
(currentDriveNumber is set correctly, but numberOfDrives is set to -1.)
-3 General I/O error occurred.
-4 Insufficient memory to complete operation.
-6 Access denied.
Parameter Discussion
The mapping between the drive number and the logical drive letter is 0 = A, 1 = B, and so on.
The total number of logical drives includes floppy-disk drives, hard-disk drives, RAM disks, and
networked drives.
GetExternalModuleAddr
void *address = GetExternalModuleAddr (char name[], int moduleID, int *status);
Purpose
Obtains the address of an identifier in a module that was loaded using
LoadExternalModule.
Parameters
Input
name
moduleID
string
integer
Name of identifier.
ID of loaded module.
Output
status
integer Zero or error code.
Return Value
address
void pointer Address of the identifier.