Help on Scanning SSID and BSSID by using wlanapi

Hi,
I am so interested on scanning available wireless network near my house,but i wish to write a program which is using C++. I had found that it must be developed by using wlanapi, so can someone here give me some guides to start my program?
[289 byte] By [realnormalman] at [2008-2-15]
# 1

There is a comprehensive C++ example in the Vista windows SDK. It's quite usuable and easy to modify.

I beleive it's in /wlan/autoconfig

ReneeC at 2007-10-3 > top of Msdn Tech,Windows Networking Development,Windows XP Wireless SDK...