ListToneFiles Method

This member of RFTone Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The ListToneFiles method returns the total number of tone files saved on an RF device and stores a list of the file names in the current object.

VB

nTones = object.ListToneFiles ()

VC++

HRESULT hr = object->ListToneFiles(short *nTones);

Return Value

nTones

The name of the variable for the returned tone file count. This function will return a -1 if an error occurs. Use the RFGetLastError method to return the generated error code.

Remarks

To return the value of the last successful ListToneFiles method without making an actual call to the RF device, use the ToneFileCount Method. To list the total number of notes within a single tone file, use the ToneCount Method.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal