Application Report


The following 21 APIs (used 484 times) might not work:

There are 213 P/Invokes (used 465 times):

Count Library Function
12 gdi32 intptr selectobject(intptr, intptr)
12 ws2_32.dll uint16 ntohs(uint16)
11 gdi32 bool deleteobject(intptr)
11 user32 int getwindowlong(intptr, int)
10 kernel32.dll void setlasterror(uint)
10 user32 int callnexthookex(intptr, int, intptr, intptr)
10 user32 int setwindowlong(intptr, int, int)
10 ws2_32.dll uint ntohl(uint)
9 user32 bool unhookwindowshookex(intptr)
9 user32 bool setwindowpos(int, int, int, int, int, int, int)
6 user32 bool iswindow(intptr)
6 user32 bool showwindow(int, int)
6 user32.dll int getwindowrect(intptr, nativewindowmethods/rect&)
6 user32.dll int16 getkeystate(int)
5 advapi32.dll int regopenkeyex(intptr, string, uint, uint, intptr&)
5 gdi32 intptr createcompatibledc(intptr)
5 kernel32 int getcurrentthreadid()
5 msimg32 bool alphablend(intptr, int, int, int, int, intptr, int, int, int, int, int)
5 user32 int releasedc(intptr, intptr)
5 user32 intptr setwindowshookex(int, nativewindowmethods/hookproc, int, int)
4 gdi32 bool deletedc(intptr)
4 gdi32 int setviewportorgex(intptr, int, int, nativewindowmethods/point&)
4 gdi32 bool bitblt(intptr, int, int, int, int, intptr, int, int, int)
4 kernel32.dll intptr localfree(intptr)
4 kernel32.dll int closehandle(intptr)
4 user32 bool redrawwindow(intptr, intptr, intptr, uint)
4 user32 int16 getkeystate(int)
4 user32.dll int getwindowlong(intptr, nativewindowmethods/getwindowlongenum)
4 user32.dll int sendmessage(intptr, int, intptr, intptr)
4 user32.dll int setwindowlong(intptr, nativewindowmethods/getwindowlongenum, int)
4 ws2_32.dll uint16 htons(uint16)
3 advapi32.dll int getsecuritydescriptorsacl(intptr, int32&, intptr&, int32&)
3 advapi32.dll int getsecuritydescriptordacl(intptr, int32&, intptr&, int32&)
3 advapi32.dll int getsecuritydescriptorowner(intptr, intptr&, int32&)
3 advapi32.dll int getsecuritydescriptorgroup(intptr, intptr&, int32&)
3 gdi32.dll uint bitblt(intptr, int, int, int, int, intptr, int, int, int)
3 user32 intptr getwindowdc(intptr)
3 user32 intptr getdc(intptr)
3 user32 intptr windowfrompoint(point)
3 user32 int sendmessage(intptr, int, int, intptr)
3 user32 int sendmessage(intptr, int, intptr, intptr)
3 user32.dll int getclassname(intptr, stringbuilder, int)
3 user32.dll int releasedc(intptr, intptr)
3 user32.dll int sendmessage(intptr, int, intptr, int)
3 user32.dll intptr sendmessage(intptr, int, int, int)
3 uxtheme.dll void drawthemebackground(int, intptr, int, int, xpthemes/nativewindowmethods/rec
2 advapi32.dll int makeabsolutesd(intptr, intptr, uint32&, intptr, uint32&, intptr, uint32&, in
2 advapi32.dll int regqueryvalueex(intptr, string, uint, uint32&, intptr, uint32&)
2 advapi32.dll int lookupaccountsid(string, intptr, char[], uint32&, char[], uint32&, sid_name_
2 advapi32.dll int makeselfrelativesd(intptr, intptr, uint32&)
2 advapi32.dll int lookupaccountname(string, string, intptr, uint32&, char[], uint32&, sid_name
2 advapi32.dll int reggetkeysecurity(intptr, security_information, intptr, uint32&)
2 advapi32.dll int isvalidsid(intptr)
2 advapi32.dll int lookupprivilegename(string, luid&, char[], uint32&)
2 advapi32.dll int gettokeninformation(intptr, tokeninformationclass, intptr, uint, uint32&)
2 advapi32.dll int getsecuritydescriptorcontrol(intptr, securitydescriptorcontrolflags&, uint32
2 advapi32.dll uint getlengthsid(intptr)
2 advapi32.dll int getkernelobjectsecurity(intptr, security_information, intptr, uint, uint32&)
2 advapi32.dll int copysid(uint, intptr, intptr)
2 advapi32.dll intptr getsidsubauthority(intptr, uint)
2 advapi32.dll int getfilesecurity(string, security_information, intptr, uint, uint32&)
2 gdi32 int getdibits(intptr, handleref, uint, uint, intptr, nativewindowmethods/bitmapi
2 gdi32 int getdevicecaps(intptr, int)
2 gdi32 int deleteobject(intptr)
2 gdi32 int getrgnbox(intptr, nativewindowmethods/rect&)
2 gdi32.dll intptr selectobject(intptr, intptr)
2 gdi32.dll bool deleteobject(intptr)
2 gdi32.dll int savedc(intptr)
2 gdi32.dll int getdevicecaps(intptr, int)
2 gdi32.dll intptr selectpalette(intptr, intptr, bool)
2 kernel32.dll bool movefileex(string, string, fcnativemethods/movefileattributes)
2 kernel32.dll bool deletefile(string)
2 user32 int sendmessage(intptr, int, int, int)
2 user32 bool setmenu(intptr, intptr)
2 user32 intptr getparent(intptr)
2 user32 intptr getsystemmenu(intptr, bool)
2 user32 bool getmenuiteminfo(intptr, uint, bool, nativewindowmethods/menuiteminfo&)
2 user32 bool destroymenu(intptr)
2 user32 intptr getmenu(intptr)
2 user32 int getmenuitemcount(intptr)
2 user32 int getmenustring(intptr, uint, intptr, int, int)
2 user32 void postmessage(intptr, int, intptr, intptr)
2 user32 intptr setwindowshookex(int, keyboardhookmanager/hookproccallback, int, int)
2 user32 intptr getdesktopwindow()
2 user32.dll bool drawframecontrol(intptr, rectangle&, int, int)
2 user32.dll bool getsystemmetrics(int)
2 user32.dll bool setcaretblinktime(uint)
2 user32.dll bool setcaretpos(int, int)
2 user32.dll bool adjustwindowrectex(nativewindowmethods/rect&, nativewindowmethods/windowsty
2 user32.dll intptr getdc(intptr)
2 user32.dll bool showcaret(intptr)
2 uxtheme.dll void getthemepartsize(int, intptr, int, int, intptr, xpthemes/nativewindowmethod
2 uxtheme.dll int getthemeappproperties()
2 uxtheme.dll int isappthemed()
2 uxtheme.dll int isthemeactive()
2 uxtheme.dll void getthemebackgroundcontentrect(int, intptr, int, int, xpthemes/nativewindowm
2 winmm int playsoundw(stringbuilder, intptr, int)
1 advapi32.dll int openprocesstoken(intptr, tokenaccesstype, intptr&)
1 advapi32.dll int adjusttokenprivileges(intptr, int, intptr, uint, intptr, uint32&)
1 advapi32.dll int setkernelobjectsecurity(intptr, security_information, intptr)
1 advapi32.dll int setsecuritydescriptordacl(intptr, int, intptr, int)
1 advapi32.dll int setsecuritydescriptorgroup(intptr, intptr, int)
1 advapi32.dll int setsecuritydescriptorowner(intptr, intptr, int)
1 advapi32.dll int setsecuritydescriptorsacl(intptr, int, intptr, int)
1 advapi32.dll intptr getsidsubauthoritycount(intptr)
1 advapi32.dll uint getnamedsecurityinfo(string, se_object_type, security_information, intptr&,
1 advapi32.dll uint getsecuritydescriptorlength(intptr)
1 advapi32.dll uint getsecurityinfo(intptr, se_object_type, security_information, intptr&, intp
1 advapi32.dll uint getsidlengthrequired(byte)
1 advapi32.dll uint setnamedsecurityinfo(string, se_object_type, security_information, intptr,
1 advapi32.dll uint setsecurityinfo(intptr, se_object_type, security_information, intptr, intpt
1 advapi32.dll int setfilesecurity(string, security_information, intptr)
1 advapi32.dll int regsetvalueex(intptr, string, uint, uint, intptr, uint)
1 advapi32.dll int regsetkeysecurity(intptr, security_information, intptr)
1 advapi32.dll int convertsidtostringsid(intptr, intptr&)
1 advapi32.dll int createwellknownsid(uint, intptr, intptr, uint32&)
1 advapi32.dll int equalprefixsid(intptr, intptr)
1 advapi32.dll int equalsid(intptr, intptr)
1 advapi32.dll int initializeacl(intptr, uint, uint)
1 advapi32.dll int initializesecuritydescriptor(intptr, uint)
1 advapi32.dll int initializesid(intptr, sid_identifier_authority&, byte)
1 advapi32.dll int istokenrestricted(intptr)
1 advapi32.dll int lookupprivilegevalue(string, string, luid&)
1 advapi32.dll int openthreadtoken(intptr, uint, int, intptr&)
1 advapi32.dll int regclosekey(intptr)
1 advapi32.dll int regcreatekeyex(intptr, string, uint, string, uint, uint, uint, intptr&, uint
1 advapi32.dll intptr getsididentifierauthority(intptr)
1 advapi32.dll int addace(intptr, uint, uint, intptr, uint)
1 comctl32 void dllgetversion(nativewindowmethods/dllversioninfo&)
1 comctl32.dll bool initcommoncontrols(nativewindowmethods/initcommoncontrols)
1 comctl32.dll int lbitemfrompt(intptr, nativewindowmethods/point, bool)
1 comctl32.dll int propertysheet(propsheetheader&)
1 dnsapi.dll uint dnsquery(string, uint16, uint, uint, uint32&, uint)
1 gdi32 intptr createcompatiblebitmap(intptr, int, int)
1 gdi32 intptr createdibsection(intptr, nativewindowmethods/bitmapinfoflat&, uint, intpt
1 gdi32 bool gettextmetrics(intptr, textmetric&)
1 gdi32 int selectcliprgn(intptr, intptr)
1 gdi32 intptr createpatternbrush(intptr)
1 gdi32 intptr createbitmap(int, int, int, int, int16[])
1 gdi32.dll intptr createcompatiblebitmap(intptr, int, int)
1 gdi32.dll int deletedc(intptr)
1 gdi32.dll int patblt(intptr, int, int, int, int, int)
1 gdi32.dll intptr createpalette(fcnativemethods/logpallette)
1 gdi32.dll int excludecliprect(intptr, int, int, int, int)
1 gdi32.dll int restoredc(intptr, int)
1 gdi32.dll int realizepalette(intptr)
1 gdi32.dll int getsystempaletteentries(intptr, uint, uint, fcnativemethods/paletteentry[]&)
1 gdi32.dll intptr createcompatibledc(intptr)
1 kernel32 int loadlibraryex(string, int, int)
1 kernel32 intptr getmodulehandle(string)
1 kernel32 int freelibrary(int)
1 kernel32 intptr getprocaddress(intptr, string)
1 kernel32.dll intptr globalalloc(fcnativemethods/globalallocflags, uint)
1 kernel32.dll intptr globallock(intptr)
1 kernel32.dll bool setfileattributes(string, fcnativemethods/fileattributes)
1 kernel32.dll fcnativemethods/fileattributes getfileattributes(string)
1 kernel32.dll intptr getmodulehandle(string)
1 kernel32.dll bool globalunlock(intptr)
1 kernel32.dll intptr openprocess(processaccesstype, int, uint)
1 kernel32.dll intptr openthread(threadaccesstype, int, uint)
1 ole32.dll void stgopenstorage(string, istorage, int, intptr, int, istorage&)
1 ole32.dll void stgcreatedocfile(string, int, int, istorage&)
1 user32 bool updatelayeredwindow(intptr, intptr, nativewindowmethods/point&, nativewindo
1 user32 intptr getactivewindow()
1 user32 int sendmessage(intptr, int, nativewindowmethods/gettextex&, stringbuilder)
1 user32 bool iswindowvisible(intptr)
1 user32 int createcaret(intptr, intptr, int, int)
1 user32 intptr mapwindowpoints(intptr, intptr, nativewindowmethods/point&, int)
1 user32 int sendmessage(intptr, int, int, nativewindowmethods/point&)
1 user32 int sendmessage(intptr, int, int, string)
1 user32 int sendmessage(intptr, int, nativewindowmethods/gettextlengthex&, int)
1 user32 int sendmessage(intptr, int, nativewindowmethods/point&, int)
1 user32 int showcaret(intptr)
1 user32 int hidecaret(intptr)
1 user32 intptr getdcex(intptr, intptr, uint)
1 user32 intptr getforegroundwindow()
1 user32 int setcaretpos(int, int)
1 user32 int scrollwindowex(intptr, int, int, nativewindowmethods/rect&, nativewindowmeth
1 user32 int destroycaret()
1 user32 int geticoninfo(intptr, nativewindowmethods/iconinfo&)
1 user32 uint mapvirtualkey(uint, uint)
1 user32 intptr setwindowshookex(nativewindowmethods/windowhook, nativewindowmethods/hook
1 user32 intptr setwindowshookex(int, mousehookmanager/hookproccallback, int, int)
1 user32 int getsyscolor(int)
1 user32 intptr realchildwindowfrompoint(intptr, int, int)
1 user32 intptr getwindow(intptr, int)
1 user32.dll intptr getdcex(intptr, intptr, int)
1 user32.dll intptr getdesktopwindow()
1 user32.dll intptr getwindowdc(intptr)
1 user32.dll int mapvirtualkey(uint, uint)
1 user32.dll bool drawedge(intptr, rectangle&, int, int)
1 user32.dll bool drawcaption(intptr, intptr, rectangle&, int)
1 user32.dll bool destroycaret()
1 user32.dll bool emptyclipboard()
1 user32.dll bool createcaret(intptr, intptr, int, int)
1 user32.dll bool geticoninfo(intptr, fcnativemethods/iconinfo&)
1 user32.dll bool hidecaret(intptr)
1 user32.dll bool openclipboard(intptr)
1 user32.dll bool closeclipboard()
1 user32.dll bool setclipboarddata(fcnativemethods/clipboardformat, intptr)
1 user32.dll bool showwindow(intptr, int)
1 user32.dll int getcaretblinktime()
1 user32.dll int getkeyboardstate(byte[])
1 user32.dll int getkeynametext(int, stringbuilder, int)
1 uxtheme.dll void setthemeappproperties(int)
1 uxtheme.dll void getthemecolor(int, int, int, int, int32&)
1 uxtheme.dll void getthemebackgroundextent(int, intptr, int, int, xpthemes/nativewindowmethod
1 uxtheme.dll void getcurrentthemename(stringbuilder, int, stringbuilder, int, stringbuilder,
1 uxtheme.dll void drawthemetext(int, intptr, int, int, string, int, int, int, xpthemes/native
1 uxtheme.dll void drawthemeedge(int, intptr, int, int, xpthemes/nativewindowmethods/rect&, ui
1 uxtheme.dll void closethemedata(int)
1 uxtheme.dll int getthemesyscolor(int, int)
1 uxtheme.dll int openthemedata(int, string)