ToneFileName Method

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

The ToneFileName method returns the file name of a saved tone file.

VB

pszName = object.ToneFileName (nTone)

VC++

HRESULT hr = object->ToneFileName(short nTone, Cstring *pszName);

Return Value

pszName

The tone file name variable. If this function returns an empty string an error may have occurred. Use the RFGetLastError to return the generated error code.

Parameters

nTone

The zero based index value tone file whose file name is to be returned. Remember, the first tone in the list is indexed as zero. For example, to return the file name of the third tone file you would pass a 2.

Remarks

For a complete listing of all tone files on an RF device simply loop the ToneFileName method for the entire number of files returned by ToneFileCount Method.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal