How To Change Scan Beep

I cannot change the scan beep on a windows mobile 6.5 device. I used the scanner API function SCAN_DoRemoteFeedback and set a beep pattern, but the sound is always the same. Can someone post some sample code to make sure how to use this function correctly?