This member of RFMenu Object is supported on Windows Mobile, Windows CE, Palm, and DOS.
The ListMenuFiles method returns the total number of menu files saved on an RF device and stores a list of the file names in the current object.
VB
nMenus = object.ListMenuFiles ()
VC++
HRESULT hr = object->ListMenuFiles(short *nMenus);
Return Value
nMenus |
The variable for the number of menu files stored on an RF device. This method 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 ListMenuFiles method without making an actual call to the RF device, use the MenuFileCount Method.
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other