BOOL GetSSID(HANDLE hNdis,LPTSTR pszDeviceName,LPTSTR pszSSID) { CHAR cBuffer[1024]; PNDISUIO_QUERY_OID pstQueryOid; DWORD dwReturned = 0; BOOL ret; PNDIS_802_11_SSID pstSSID; INT i; pszSSID[0] = 0; // SSIDのクリア memset(cBuffer,0,sizeof(cBuffer)); pstQueryOid = (PNDISUIO_QUERY_OID)cBuffer; pstQueryOid->Oid = OID_802_11_SSID; // SSIDの取得 pstQueryOid->ptcDeviceName = pszDeviceName; // デバイス名の指定 ret = De