From ad81dbb7e7513fe68e91fcd22372e7bbf33f7199 Mon Sep 17 00:00:00 2001 From: Narod Date: Sat, 2 Jan 2021 03:41:09 +0000 Subject: [PATCH] 1.1.2 (added XML comments) added XML comments, making it more self-explanatory --- .vs/FullScreenDetection/v16/.suo | Bin 45568 -> 40960 bytes FullScreenDetection/FullscreenDetecter.vb | 16 ++++++++++++++ .../My Project/AssemblyInfo.vb | 8 +++---- .../bin/Debug/FullScreenDetection.dll | Bin 11264 -> 11264 bytes .../bin/Debug/FullScreenDetection.pdb | Bin 40448 -> 40448 bytes .../bin/Debug/FullScreenDetection.xml | 20 ++++++++++++++++++ .../obj/Debug/FullScreenDetection.dll | Bin 11264 -> 11264 bytes .../obj/Debug/FullScreenDetection.pdb | Bin 40448 -> 40448 bytes ...eenDetection.vbprojAssemblyReference.cache | Bin 424 -> 2067 bytes .../obj/Debug/FullScreenDetection.xml | 20 ++++++++++++++++++ 10 files changed, 60 insertions(+), 4 deletions(-) diff --git a/.vs/FullScreenDetection/v16/.suo b/.vs/FullScreenDetection/v16/.suo index 8ece7e36b45b34f5b72bcae6e637656c326721e1..51a92ab74f2321fecaaeaa20b665a6763dfcf328 100644 GIT binary patch delta 2353 zcmc&#ZA@Eb6u$56ZEZ_o1oPx`$d+@ahzy_5q^Xzu*A2(&9q|H2$H77 z!0B+0N5Cb|b|~U?>=Z0%a%B^W9_OBc_97Y(jff`1 zGl*tH8iFk4;@5k}4=F+3pKyVDW6NZuoI*p_5Y$xH9w!46lA{DYfzlW;v>Uqs5kqSt zhWI67h%h3C2q9u<|L?@?KzWQ9+K&-Kb35+E?Bfy%(lR|>uYAkoq^PG`RdPahYw^8HiXE)&Nq9tR>e9InNg1d>%|0a(I*7^G~O4Z#xj^&sW63%To5 zA(9id%=UnkD;p>X`Vbs2V;a+8pRA`)A$Fk1b|+C(7bGCmk)m^beC$IF`Vp;&HdTAS zIzn@vP2Uw;1oGNIFk0Ylo?ReYL03d~5H}Y!u;N-VwBz)ZX!`sgzB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%@+6i6C+7cKY28GydRIeMwqXYhSPA@9ul?aTuJ?TJc}ayeQO&f`zNGm0LKz z)>F$>*jygYX0cd!o)_(+o!=E;8TZ_7O6ToH1DTZ?vJu`o;(@~xS$~#bzoQ=lV|(b9 zLfMflP( zPs8|;^+=c8#_<+Gf_&4m#IURf|5HR@|G(RjvC-vdTQ}hAA8707+1&9+h=dT~=J}i| z@;j#r+^qA$g$B)iLUU^}EK}oQ`AFY{z7e}D@{IOG=(;R=-JeFlIW&sTNIVyZv~kR= zBB~e`NTiAd@wHlr?Nvt)?Rz&BE{IEDyr&dGJ&I^U+sRDo0uEG7!r`7Yn0%pq4o^$c zVG8sM2%h<9uwb+TLZk1%lqm;dqcSLF)#-l5$85s8xR2>)+Q7gTK zwBQ6YP8@QkX13tdjK089n7I$g74tqI;R}Za&%q{`bmTz3Be#&czGFEtdIc6C^bJDq zAZjo&+DFSU=q;d+Yb;$gPhx3~J&U;Z6MT>V^+F g;n-O6W;6@tau??oTy~DH@Q8RR{- + ''' Returns any fullscreen application detected. A fullscreen application is determined as one that fills the entire screen (if multi-monitor, screen user is currently using). + ''' + ''' If no application detected, only the Boolean will be present in list. + ''' + ''' + ''' List(Of Object) (Boolean: True if application detected - False if not, String: Window text of application if was detected, UInteger: Process ID of application if was detected) + ''' Public Function DetectFullscreenApplication() As List(Of Object) ' this is a base function which can be used to pull ANY fullscreen window, including web browsers. hWnd = GetForegroundWindow() ' assumed to be the fullscreen program, is actually just the current window in focus desktopHandle = GetDesktopWindow() ' gets the desktop window, as to check that it isn't the desktop which is in focus @@ -76,6 +84,14 @@ Public Class FullscreenDetecter Return ReturnList End Function + ''' + ''' Returns any fullscreen application detected, but filters out browsers (more to come in future versions). A fullscreen game is determined as one that fills the entire screen (if multi-monitor, screen user is currently using). + ''' + ''' If no application detected, only the Boolean will be present in list. + ''' + ''' + ''' List(Of Object) (Boolean: True if application detected - False if not, String: Window text of application if was detected, UInteger: Process ID of application if was detected) + ''' Public Function DetectGameFullscreen() As List(Of Object) Dim response As New List(Of Object) response = DetectFullscreenApplication() diff --git a/FullScreenDetection/My Project/AssemblyInfo.vb b/FullScreenDetection/My Project/AssemblyInfo.vb index 668c71c..4f1d896 100644 --- a/FullScreenDetection/My Project/AssemblyInfo.vb +++ b/FullScreenDetection/My Project/AssemblyInfo.vb @@ -8,10 +8,10 @@ Imports System.Runtime.InteropServices ' Review the values of the assembly attributes - + - + @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' by using the '*' as shown below: ' - - + + diff --git a/FullScreenDetection/bin/Debug/FullScreenDetection.dll b/FullScreenDetection/bin/Debug/FullScreenDetection.dll index d1b78f78f7ce9013ac1998a2bfa4be210c8a7b22..505682cdfd56526b9ee2f439236ba524333eb5f1 100644 GIT binary patch delta 868 zcmbVLT}u>E7=F&om`Ju-Vr989qr0w@sHsp=)WFI{R3-@dQQ_LS^kpurS{Ez1Vo;Js z%UO}KVr%F^q6nrty)ZV2$g7CxBFI?En*#IL|!idB4u#oJn*fI<8&T zejoTWnVcvUH(m}#hrCl>EjvX(q~$1KLe7eI5tl+K zTGLtr2#RyPdGb8f>b@kAOP?})9`paJg*cVd(KyAw?L+bv1|q+$D7RKG=AvS*%#BoFe6;mf-j?T%oKnNJcknoV?#gv^2YIcH5LZ zr`otrK{gylH({2_9o7~&GQ)a?B7dqG)}J#ju{XA1O;ze%%EGd zn0H&kJtb7v0oq?m)tT$eP39)^F!M0;1Y??UVFld^OU$9Ub)b4`;q0|Rd(ewgNJNX^sfZv-AO}GZ5l>1H=MDA2{`mHrZ|1#aUolh6%-%2_ zmi|1cRswjtS{wHcTL4FaR~8^+R84eHIDVS9$$io6t>k+VF#mI@16Xzm3pN*pAxre)^frPqihO6HS#*&n6DcjuqOxf^= zLpC@<-B9CkM~r1j*2S-L@|UWMzanf(wIy>}vQ10ov?T9A8~z$8ltbep95-^J&*V^l zB`940K3`ddM2AFMqAk%`(OJ<&;gWE9oq9r3G#Gjg80^sE=AVepOo?d^?Y dl7@Qswk07B31>^+Q}poO`d-fI*B`uf`#-qwxf}oh diff --git a/FullScreenDetection/bin/Debug/FullScreenDetection.pdb b/FullScreenDetection/bin/Debug/FullScreenDetection.pdb index ab8b38dfa856de853ed09f0dc64c669977edd175..0cd4cd2430167871c3390bc5ac378c0cd09f6fb3 100644 GIT binary patch delta 634 zcmb`^Nhri&7{~E@SNOFB#Hg`W%Xs#04 zf0i7LAvQPFaov-B<~cH2;RF z%)hxu5A1z3;r z1(^dK2=EO4v$$4BK!V+i?mza2mVllXuoj-oSoz5gO}4t|jK5U)yL?{e5lItFQlH ea>Nd^i-7mxgV=!0Z1d1v++5&nt2KDm=Kc#gEy1J! delta 634 zcmb`^Pe{{Y9LMozbCN=6hlNW;#zb8a9%L$6?Z5KdYW*QJ|EvTZEGSVr80_Hh$HGw_*Yo-C@I3JSDp|df)xVca z=B1u#rM-7O^5d)3KhhZ9cwYFumw){<_v>T$;*@1*JMBv8K2%D2bMDWR3+IPdZtXn# zGM^8QU4D1&aKChS^vJfh_4nasp#1b=O`*h4J2>(=zFTiK%+<%bGscFHS+)tG=!6i> zcoti*0$b67SFi{74~~_7Y$LzY@-ki}f5L0{9j{{r532X8&`!3X1MTQUho(~}WZ|N4 zQK-7njUG)eddPnCVi4Oggz5*6u!9^y31jHP8T4aPGle(Ei+B^?VgQRpd{lZP-{wdo z?%)}`i)DBZ)fuQ?)nO;O3A=Dm>%(|oh^T_S^yAovFEEHN@c~XE^NXr88z8S@2#bY1 ulk}x8{pW2*3Wk5TE&nu{s%8`FOhnPQ1^IEV+BYdp+19<|6PfBnq4Wgzy1hC8 diff --git a/FullScreenDetection/bin/Debug/FullScreenDetection.xml b/FullScreenDetection/bin/Debug/FullScreenDetection.xml index 9687518..53e446a 100644 --- a/FullScreenDetection/bin/Debug/FullScreenDetection.xml +++ b/FullScreenDetection/bin/Debug/FullScreenDetection.xml @@ -22,5 +22,25 @@ FullScreenDetection resource lookups using this strongly typed resource class. + + + Returns any fullscreen application detected. A fullscreen application is determined as one that fills the entire screen (if multi-monitor, screen user is currently using). + + If no application detected, only the Boolean will be present in list. + + + List(Of Object) (Boolean: True if application detected - False if not, String: Window text of application if was detected, UInteger: Process ID of application if was detected) + + + + + Returns any fullscreen application detected, but filters out browsers (more to come in future versions). A fullscreen game is determined as one that fills the entire screen (if multi-monitor, screen user is currently using). + + If no application detected, only the Boolean will be present in list. + + + List(Of Object) (Boolean: True if application detected - False if not, String: Window text of application if was detected, UInteger: Process ID of application if was detected) + + diff --git a/FullScreenDetection/obj/Debug/FullScreenDetection.dll b/FullScreenDetection/obj/Debug/FullScreenDetection.dll index d1b78f78f7ce9013ac1998a2bfa4be210c8a7b22..505682cdfd56526b9ee2f439236ba524333eb5f1 100644 GIT binary patch delta 868 zcmbVLT}u>E7=F&om`Ju-Vr989qr0w@sHsp=)WFI{R3-@dQQ_LS^kpurS{Ez1Vo;Js z%UO}KVr%F^q6nrty)ZV2$g7CxBFI?En*#IL|!idB4u#oJn*fI<8&T zejoTWnVcvUH(m}#hrCl>EjvX(q~$1KLe7eI5tl+K zTGLtr2#RyPdGb8f>b@kAOP?})9`paJg*cVd(KyAw?L+bv1|q+$D7RKG=AvS*%#BoFe6;mf-j?T%oKnNJcknoV?#gv^2YIcH5LZ zr`otrK{gylH({2_9o7~&GQ)a?B7dqG)}J#ju{XA1O;ze%%EGd zn0H&kJtb7v0oq?m)tT$eP39)^F!M0;1Y??UVFld^OU$9Ub)b4`;q0|Rd(ewgNJNX^sfZv-AO}GZ5l>1H=MDA2{`mHrZ|1#aUolh6%-%2_ zmi|1cRswjtS{wHcTL4FaR~8^+R84eHIDVS9$$io6t>k+VF#mI@16Xzm3pN*pAxre)^frPqihO6HS#*&n6DcjuqOxf^= zLpC@<-B9CkM~r1j*2S-L@|UWMzanf(wIy>}vQ10ov?T9A8~z$8ltbep95-^J&*V^l zB`940K3`ddM2AFMqAk%`(OJ<&;gWE9oq9r3G#Gjg80^sE=AVepOo?d^?Y dl7@Qswk07B31>^+Q}poO`d-fI*B`uf`#-qwxf}oh diff --git a/FullScreenDetection/obj/Debug/FullScreenDetection.pdb b/FullScreenDetection/obj/Debug/FullScreenDetection.pdb index ab8b38dfa856de853ed09f0dc64c669977edd175..0cd4cd2430167871c3390bc5ac378c0cd09f6fb3 100644 GIT binary patch delta 634 zcmb`^Nhri&7{~E@SNOFB#Hg`W%Xs#04 zf0i7LAvQPFaov-B<~cH2;RF z%)hxu5A1z3;r z1(^dK2=EO4v$$4BK!V+i?mza2mVllXuoj-oSoz5gO}4t|jK5U)yL?{e5lItFQlH ea>Nd^i-7mxgV=!0Z1d1v++5&nt2KDm=Kc#gEy1J! delta 634 zcmb`^Pe{{Y9LMozbCN=6hlNW;#zb8a9%L$6?Z5KdYW*QJ|EvTZEGSVr80_Hh$HGw_*Yo-C@I3JSDp|df)xVca z=B1u#rM-7O^5d)3KhhZ9cwYFumw){<_v>T$;*@1*JMBv8K2%D2bMDWR3+IPdZtXn# zGM^8QU4D1&aKChS^vJfh_4nasp#1b=O`*h4J2>(=zFTiK%+<%bGscFHS+)tG=!6i> zcoti*0$b67SFi{74~~_7Y$LzY@-ki}f5L0{9j{{r532X8&`!3X1MTQUho(~}WZ|N4 zQK-7njUG)eddPnCVi4Oggz5*6u!9^y31jHP8T4aPGle(Ei+B^?VgQRpd{lZP-{wdo z?%)}`i)DBZ)fuQ?)nO;O3A=Dm>%(|oh^T_S^yAovFEEHN@c~XE^NXr88z8S@2#bY1 ulk}x8{pW2*3Wk5TE&nu{s%8`FOhnPQ1^IEV+BYdp+19<|6PfBnq4Wgzy1hC8 diff --git a/FullScreenDetection/obj/Debug/FullScreenDetection.vbprojAssemblyReference.cache b/FullScreenDetection/obj/Debug/FullScreenDetection.vbprojAssemblyReference.cache index 44147f6030bdb6962498cc34c9563c9aee210a1c..8408509a3d216174756abdbf2a3a6da85223620f 100644 GIT binary patch literal 2067 zcmcIl*>2N76rHTiQlM;QE8qeTpq5cWC@n}8qG_W_lu}4kc!;Pb@pWot>?t#oF8l^x zz-RCqNPGh?`~%$UMnPDHH(T=Yb|&YZGcz|V!x;O82VLoy&LVtx<@dER%CmfJ{g`jPP1!9#wUqbYhn>+o4RY(baizOJoDa^hVJqc8GIfsxZ z_%F4Hgvyo@ZcFs7(oS*XK@PQu=%XJqt!r* zz-eI`#<_pI^5jAHEqI_I?1S^d7zi+NFx^S0-4^oUNaGqMDnE zt#^Ltsw1<8OD0m9My0(}l*UVi!aI|ioyq3br*_Vw(jZMc>slQ7;ULQHT-vsxZAJmk zpi+>gt?{zpEv18KAJ0Vn4rR+xPr5*N7YQyATqc+$xI%E1;2ObogaVCNn6#9?{tHg$ zE9%S()Rm$;YFD{Hxp_Q?SrO)4I50&+J=_$uJp`TgLdLS$Y=)If8EV?>$Cs}UKYuS# z8?00+#T#_R9#!LwTBH7yWvF1PBTk%)6UkH(@n)Pz#*>J*;zSB3iFi9sqyUqMPMk;~ fClTl4M4E^s;+;5=CM$_}H%_DpO(Ncl5v#ueFo;ln delta 28 ecmbO%u!4DmKO^IU$pMUBd<;M!zy>0LfExf_Yy?dJ diff --git a/FullScreenDetection/obj/Debug/FullScreenDetection.xml b/FullScreenDetection/obj/Debug/FullScreenDetection.xml index 9687518..53e446a 100644 --- a/FullScreenDetection/obj/Debug/FullScreenDetection.xml +++ b/FullScreenDetection/obj/Debug/FullScreenDetection.xml @@ -22,5 +22,25 @@ FullScreenDetection resource lookups using this strongly typed resource class. + + + Returns any fullscreen application detected. A fullscreen application is determined as one that fills the entire screen (if multi-monitor, screen user is currently using). + + If no application detected, only the Boolean will be present in list. + + + List(Of Object) (Boolean: True if application detected - False if not, String: Window text of application if was detected, UInteger: Process ID of application if was detected) + + + + + Returns any fullscreen application detected, but filters out browsers (more to come in future versions). A fullscreen game is determined as one that fills the entire screen (if multi-monitor, screen user is currently using). + + If no application detected, only the Boolean will be present in list. + + + List(Of Object) (Boolean: True if application detected - False if not, String: Window text of application if was detected, UInteger: Process ID of application if was detected) + +