Skip to content

Commit

Permalink
1.1.1 (function As clause)
Browse files Browse the repository at this point in the history
added function As clauses that should have been present
  • Loading branch information
NarodGaming committed Jan 2, 2021
1 parent 2a4a7a0 commit 9284140
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
Binary file modified .vs/FullScreenDetection/v16/.suo
Binary file not shown.
4 changes: 2 additions & 2 deletions FullScreenDetection/FullscreenDetecter.vb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Public Class FullscreenDetecter
Private desktopHandle As New IntPtr
Private shellHandle As New IntPtr

Public Function DetectFullscreenApplication() ' this is a base function which can be used to pull ANY fullscreen window, including web browsers.
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
shellHandle = GetShellWindow() ' gets the shell window, as to check that it isn't the shell which is in focus
Expand All @@ -76,7 +76,7 @@ Public Class FullscreenDetecter
Return ReturnList
End Function

Public Function DetectGameFullscreen()
Public Function DetectGameFullscreen() As List(Of Object)
Dim response As New List(Of Object)
response = DetectFullscreenApplication()

Expand Down
4 changes: 2 additions & 2 deletions FullScreenDetection/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.1.0.0")>
<Assembly: AssemblyFileVersion("1.1.0.0")>
<Assembly: AssemblyVersion("1.1.1.0")>
<Assembly: AssemblyFileVersion("1.1.1.0")>
Binary file modified FullScreenDetection/bin/Debug/FullScreenDetection.dll
Binary file not shown.
Binary file modified FullScreenDetection/bin/Debug/FullScreenDetection.pdb
Binary file not shown.
Binary file modified FullScreenDetection/obj/Debug/FullScreenDetection.dll
Binary file not shown.
Binary file modified FullScreenDetection/obj/Debug/FullScreenDetection.pdb
Binary file not shown.
Binary file not shown.

0 comments on commit 9284140

Please sign in to comment.