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.
pszName = object.ToneFileName (nTone)
HRESULT hr = object->ToneFileName(short nTone, Cstring *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.
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.
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:
Not what I expected
Open topic with navigation