How can I get the MAC address?

I used Iphlpapi.h to get the local MAC address, but it failed to complile.

code:
#include “ofMain.h”
#include “ofxXmlSettings.h”
#include “ofxNetwork.h”

#include <windows.h>
#include <Iphlpapi.h>

#pragma comment(lib,“Iphlpapi.lib”)

error:
1>c:\program files\microsoft sdks\windows\v7.0a\include\iphlpapi.h(390): error C2065: “PMIB_IPSTATS”: undeclared identifier
1>c:\program files\microsoft sdks\windows\v7.0a\include\iphlpapi.h(390): error C2146: syntax error : missing ') ’ before identifier ‘Statistics’
1>c:\program files\microsoft sdks\windows\v7.0a\include\iphlpapi.h(390): warning C4229: anachronism used : modifiers on data are ignored
1>c:\program files\microsoft sdks\windows\v7.0a\include\iphlpapi.h(392): error C2059: syntax error : ') ’

I tried to change the position that I include the Iphlpapi.h to the top, but still failed.