Public Class Native
#Region "Multi Media Timer"
	Public Declare Function timeGetTime Lib "winmm.dll" Alias "timeGetTime" () As Integer
	Public Declare Function timeBeginPeriod Lib "winmm.dll" Alias "timeBeginPeriod" (ByVal uPeriod As Integer) As Integer
	Public Declare Function timeEndPeriod Lib "winmm.dll" Alias "timeEndPeriod" (ByVal uPeriod As Integer) As Integer
#End Region

#Region "Draw"
	Public Declare Function GetDC Lib "User32.dll" Alias "GetDC" (ByVal hWnd As IntPtr) As IntPtr
	Public Declare Function ReleaseDC Lib "User32.dll" Alias "ReleaseDC" (ByVal hWnd As IntPtr, ByVal hDC As IntPtr) As Integer
	Public Declare Function SetWindowPos Lib "User32.dll" Alias "SetWindowPos" (ByVal hWnd As IntPtr, ByVal hWndInsetAfter As IntPtr, ByVal X As Integer, ByVal Y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal uFlags As Integer) As Integer
	'-----------------------------------------------------------------------------
	'SetWindowPos Flags
	'-----------------------------------------------------------------------------
	Public Const SWP_NOSIZE As Integer = &H1
	Public Const SWP_NOMOVE As Integer = &H2
	Public Const SWP_NOZORDER As Integer = &H4
	Public Const SWP_NOREDRAW As Integer = &H8
	Public Const SWP_NOACTIVATE As Integer = &H10
	Public Const SWP_FRAMECHANGED As Integer = &H20
	Public Const SWP_SHOWWINDOW As Integer = &H40
	Public Const SWP_HIDEWINDOW As Integer = &H80
	Public Const SWP_NOCOPYBITS As Integer = &H100
	Public Const SWP_NOOWNERZORDER As Integer = &H200
	Public Const SWP_NOSENDCHANGING As Integer = &H400
#End Region
#Region "INI File"
	Public Declare Auto Function GetPrivateString Lib "kernel32.dll" (ByVal appName As String, ByVal keyName As String, ByVal defValue As String, ByVal getValue As System.Text.StringBuilder, ByVal size As Integer, ByVal fileName As String) As Integer
	Public Declare Auto Function GetPrivateProfileInt Lib "kernel32.dll" (ByVal appName As String, ByVal keyName As String, ByVal defValue As Integer, ByVal fileName As String) As Integer
	Public Declare Auto Function WritePrivateProfileString Lib "kernel32.dll" (ByVal appName As String, ByVal keyName As String, ByVal value As String, ByVal fileName As String) As Integer

#End Region
#Region "ERROR"
	Public Const ERROR_ACCESS_DENIED As Integer = &H5
#End Region
End Class
