iMac's Built-in microphone doesn't work on Windows 7
I assume your microphone works fine under OSX?

Did you download and install the bootcamp drivers for Windows 7?

Windows needs the driver installed to "see" the microphone and access it.

Can you see the microphone in the device manager?

Did you check the input levels for the microphone in Windows audio setup control panel? The gain may need to be adjusted.