GetToneFile Method

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

The GetToneFile method retrieves a tone file from an RF device into the current RFTone object within your application.

VB

nStatus = object.GetToneFile (pszFileName)

VC++

HRESULT hr = object->GetToneFile(LPCTSTR pszFileName, short *nStatus);

Return Value

nStatus

The total number of notes placed within the current RFTone object. This method will return a -1 if an error occurs. Use the RFGetLastError method to return the error value. If the RFTone file does not exist on the RF device, this method will return 0.

Parameters

pszFileName

The name of the tone file that you wish to set as the current RFTone object.

Example

See the RFTone Samples.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal