The Microsoft speech recognition engine is designed to recognize speech in a given language, which whistling isn't, so that is highly unlikely to work.
You could try adding a word to the dictionary and recording a custom pronunciation for it while whistling, but it's unlikely to be matched correctly when you repeat it, and I don't know whether it could negatively affect the recognition of regular words (especially during dictation).