Blogger tarafından desteklenmektedir.

Visual Basic API Functions

İhtiyacınız olan API Fonksiyonlar:

'VA: 406E00
Private Declare Sub SetCurrentDirectoryW Lib "kernel32"()
'VA: 406DB0
Private Declare Sub CopyFileW Lib "kernel32"()
'VA: 406D6C
Private Declare Sub DeleteFileW Lib "kernel32"()
'VA: 406D28
Private Declare Sub SystemTimeToFileTime Lib "kernel32"()
'VA: 406CF4
Private Declare Sub FileTimeToSystemTime Lib "kernel32"()
'VA: 406CA4
Private Declare Sub LocalFileTimeToFileTime Lib "kernel32"()
'VA: 406C54
Private Declare Sub FileTimeToLocalFileTime Lib "kernel32"()
'VA: 406C04
Private Declare Sub SHGetSpecialFolderPathW Lib "shell32"()
'VA: 406BA8
Private Declare Sub ReadFile Lib "kernel32"()
'VA: 406B64
Private Declare Sub WriteFile Lib "kernel32"()
'VA: 406B04
Private Declare Sub GetFileSize Lib "kernel32"()
'VA: 406AC0
Private Declare Sub SetFileTime Lib "kernel32"()
'VA: 406A7C
Private Declare Sub GetFileTime Lib "kernel32"()

'VA: 406A38
Private Declare Sub SetFileAttributesW Lib "kernel32"()
'VA: 4069EC
Private Declare Sub GetFileAttributesW Lib "kernel32"()
'VA: 4069A0
Private Declare Sub CreateFileW Lib "kernel32"()
'VA: 40696C
Private Declare Sub CreateDirectoryW Lib "kernel32"()
'VA: 406920
Private Declare Sub FindClose Lib "kernel32"()
'VA: 4068DC
Private Declare Sub FindNextFileW Lib "kernel32"()
'VA: 406894
Private Declare Sub FindFirstFileW Lib "kernel32"()
'VA: 40684C
Private Declare Sub GetCurrentDirectoryW Lib "kernel32"()
'VA: 4067A8
Private Declare Function IsTextUnicode Lib "advapi32" Alias "IsTextUnicode" (lpBuffer As Any, ByVal cb As Long, lpi As Long) As Long
'VA: 406434
Private Declare Function timeGetTime Lib "winmm.dll" Alias "timeGetTime" () As Long
'VA: 4063E0
Private Declare Sub MsgWaitForMultipleObjectsEx Lib "user32"()
'VA: 40638C
Private Declare Sub GetComputerNameW Lib "kernel32"()
'VA: 406340
Private Declare Function GetUserNameW Lib "advapi32.dll" (lpBuffer As Byte, nSize As Long) As Long
'VA: 4062FC
Private Declare Sub MultiByteToWideChar Lib "kernel32"()
'VA: 4062B0
Private Declare Sub WideCharToMultiByte Lib "kernel32"()
'VA: 406264
Private Declare Sub GetProductInfo Lib "kernel32"()
'VA: 40621C
Private Declare Sub GetSystemMetrics Lib "user32"()
'VA: 4061C0
Private Declare Sub GetNativeSystemInfo Lib "kernel32"()
'VA: 406174
Private Declare Sub GetSystemInfo Lib "kernel32"()
'VA: 406108
Private Declare Sub IsWow64Process Lib "kernel32"()
'VA: 4060C0
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)
'VA: 40608C
Private Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As String) As Long
'VA: 406048
Private Declare Sub IsNTAdmin Lib "advpack.dll"()
'VA: 405FF4
Private Declare Sub GetVersionExA Lib "kernel32"()
'VA: 405FAC
Private Declare Sub GetTickCount Lib "kernel32"()
'VA: 405F58
Private Declare Sub CreateEventW Lib "kernel32"()
'VA: 405F10
Private Declare Function MsgWaitForMultipleObjects Lib "user32" Alias "MsgWaitForMultipleObjects" (ByVal nCount As Long, pHandles As Long, ByVal fWaitAll As Long, ByVal dwMilliseconds As Long, ByVal dwWakeMask As Long) As Long
'VA: 405EBC
Private Declare Sub TerminateProcess Lib "kernel32"()
'VA: 405E70
Private Declare Sub GetExitCodeProcess Lib "kernel32"()
'VA: 405E24
Private Declare Sub uncompress Lib "zf32.dll"()
'VA: 405DE0
Private Declare Sub compress Lib "zf32.dll"()
'VA: 405D80
Private Declare Function KillTimer Lib "user32" Alias "KillTimer" (ByVal hwnd As Long, ByVal nIDEvent As Long) As Long
'VA: 405D3C
Private Declare Function SetTimer Lib "user32" Alias "SetTimer" (ByVal hWnd As Long, ByVal nIDEvent As Long, ByVal uElapse As Long, ByVal lpTimerFunc As Long) As Long
'VA: 405CF8
Private Declare Sub GetWindowTextLengthW Lib "user32"()
'VA: 405CA8
Private Declare Sub GetWindowTextW Lib "user32"()
'VA: 405C60
Private Declare Function IsWindowVisible Lib "user32" Alias "IsWindowVisible" (ByVal hwnd As Long) As Long
'VA: 405C18
Private Declare Function EnumWindows Lib "user32" (ByVal lpEnumFunc As Long, ByVal lParam As Long) As Long
'VA: 405BD0
Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
'VA: 405B88
Private Declare Sub FindWindowW Lib "user32"()
'VA: 405B44
Private Declare Sub GetModuleFileNameExW Lib "PSAPI.DLL"()
'VA: 405AF4
Private Declare Sub EnumProcessModules Lib "PSAPI.DLL"()
'VA: 405AA8
Private Declare Sub EnumProcesses Lib "PSAPI.DLL"()
'VA: 405A50
Private Declare Sub CloseHandle Lib "kernel32"()
'VA: 405A08
Private Declare Sub OpenProcess Lib "kernel32"()
'VA: 4059C4
Private Declare Sub GetModuleFileNameW Lib "kernel32"()
'VA: 405978
Private Declare Sub CreateThread Lib "kernel32"()
'VA: 405930
Private Declare Sub NtSetInformationProcess Lib "ntdll.dll"()
'VA: 4058D0
Private Declare Function OpenProcessToken Lib "advapi32.dll" Alias "OpenProcessToken" (ByVal ProcessHandle As Long, ByVal DesiredAccess As Long, TokenHandle As Long) As Long
'VA: 405884
Private Declare Function GetCurrentProcess Lib "kernel32" Alias "GetCurrentProcess" () As Long
'VA: 405840
Private Declare Function LookupPrivilegeValue Lib "advapi32.dll" Alias "LookupPrivilegeValueA" (ByVal lpSystemName As String, ByVal lpName As String, lpLuid As LARGE_INTEGER) As Long
'VA: 4057F0
Private Declare Function AdjustTokenPrivileges Lib "advapi32.dll" Alias "AdjustTokenPrivileges" (ByVal TokenHandle As Long, ByVal DisableAllPrivileges As Long, NewState As TOKEN_PRIVILEGES, ByVal BufferLength As Long, PreviousState As TOKEN_PRIVILEGES, ReturnLength As Long) As Long
'VA: 4057A0
Private Declare Function CloseServiceHandle Lib "advapi32.dll" Alias "CloseServiceHandle" (ByVal hSCObject As Long) As Long
'VA: 405754
Private Declare Function StartService Lib "advapi32.dll" Alias "StartServiceA" (ByVal hService As Long, ByVal dwNumServiceArgs As Long, ByVal lpServiceArgVectors As Long) As Long
'VA: 40570C
Private Declare Function QueryServiceStatus Lib "advapi32.dll" Alias "QueryServiceStatus" (ByVal hService As Long, lpServiceStatus As SERVICE_STATUS) As Long
'VA: 4056C0
Private Declare Function OpenSCManager Lib "advapi32.dll" Alias "OpenSCManagerA" (ByVal lpMachineName As String, ByVal lpDatabaseName As String, ByVal dwDesiredAccess As Long) As Long
'VA: 405674
Private Declare Sub OpenServiceW Lib "advapi32"()
'VA: 40562C
Private Declare Sub ChangeServiceConfig2W Lib "advapi32"()
'VA: 4055CC
Private Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, lpData As Any, ByVal cbData As Long) As Long         ' Note that if you the lpData parameter as String, you must pass it By Value.
'VA: 405584
Private Declare Function RegQueryValueEx Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, lpData As Any, lpcbData As Long) As Long         ' Note that if you the lpData parameter as String, you must pass it By Value.
'VA: 405538
Private Declare Function RegOpenKey Lib "advapi32.dll" Alias "RegOpenKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long
'VA: 4054F4
Private Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" (ByVal hKey As Long, ByVal lpSubKey As String, phkResult As Long) As Long
'VA: 405494
Private Declare Function RegCloseKey Lib "advapi32.dll" Alias "RegCloseKey" (ByVal hKey As Long) As Long
'VA: 40543C
Private Declare Sub IsDebuggerPresent Lib "kernel32"()
'VA: 4052B4
Private Declare Function DispatchMessage Lib "user32" Alias "DispatchMessageA" (lpMsg As MSG) As Long
'VA: 405268
Private Declare Function TranslateMessage Lib "user32" Alias "TranslateMessage" (lpMsg As MSG) As Long
'VA: 40521C
Private Declare Function PeekMessage Lib "user32" Alias "PeekMessageA" (lpMsg As MSG, ByVal hwnd As Long, ByVal wMsgFilterMin As Long, ByVal wMsgFilterMax As Long, ByVal wRemoveMsg As Long) As Long
'VA: 4051D4
Private Declare Function RemoveProp Lib "user32" Alias "RemovePropA" (ByVal hwnd As Long, ByVal lpString As String) As Long
'VA: 405190
Private Declare Function SetProp Lib "user32" Alias "SetPropA" (ByVal hwnd As Long, ByVal lpString As String, ByVal hData As Long) As Long
'VA: 405134
Private Declare Function RegisterClass Lib "user32" Alias "RegisterClassA" (Class As WNDCLASS) As Long
'VA: 4050EC
Private Declare Function IsWindow Lib "user32" Alias "IsWindow" (ByVal hwnd As Long) As Long
'VA: 4050A8
Private Declare Function DestroyWindow Lib "user32" Alias "DestroyWindow" (ByVal hwnd As Long) As Long
'VA: 405060
Private Declare Function CreateWindowEx Lib "user32" Alias "CreateWindowExA" (ByVal dwExStyle As Long, ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Any) As Long
'VA: 405018
Private Declare Sub HeapSize Lib "kernel32"()
'VA: 404FD4
Private Declare Sub HeapFree Lib "kernel32"()
'VA: 404F68
Private Declare Sub HeapAlloc Lib "kernel32"()
'VA: 404F24
Private Declare Sub GetProcessHeap Lib "kernel32"()
'VA: 404E68
Private Declare Function RegisterWindowMessage Lib "user32" Alias "RegisterWindowMessageA" (ByVal lpString As String) As Long
'VA: 404E18
Private Declare Function GetProp Lib "user32" Alias "GetPropA" (ByVal hwnd As Long, ByVal lpString As String) As Long
'VA: 404DD8
Private Declare Sub RtlMoveMemory Lib "kernel32"()
'VA: 404D90
Private Declare Sub CreateEventA Lib "kernel32"()
'VA: 404D34
Private Declare Sub WSAConnect Lib "ws2_32.dll"()
'VA: 404CF0
Private Declare Sub WSAGetOverlappedResult Lib "ws2_32.dll"()
'VA: 404CA0
Private Declare Sub WSAAsyncSelect Lib "wsock32.dll"()
'VA: 404C58
Private Declare Sub WSACancelBlockingCall Lib "wsock32.dll"()
'VA: 404BE8
Private Declare Sub WSAIsBlocking Lib "wsock32.dll"()
'VA: 404BA0
Private Declare Sub WSARecv Lib "ws2_32.dll"()
'VA: 404B60
Private Declare Sub WSASend Lib "ws2_32.dll"()
'VA: 404B20
Private Declare Sub WSAResetEvent Lib "ws2_32.dll"()
'VA: 404AD8
Private Declare Sub WSACreateEvent Lib "ws2_32.dll"()
'VA: 404A90
Private Declare Sub WSACloseEvent Lib "ws2_32.dll"()
'VA: 404A58
Private Declare Sub WSACleanup Lib "wsock32.dll"()
'VA: 404A14
Private Declare Sub WSAStartup Lib "wsock32.dll"()
'VA: 4049D0
Private Declare Sub socket Lib "wsock32.dll"()
'VA: 404990
Private Declare Sub shutdown Lib "wsock32.dll"()
'VA: 40494C
Private Declare Sub ntohs Lib "wsock32.dll"()
'VA: 40490C
Private Declare Sub ioctlsocket Lib "wsock32.dll"()
'VA: 4048C8
Private Declare Sub inet_addr Lib "wsock32.dll"()
'VA: 404870
Private Declare Sub htons Lib "wsock32.dll"()
'VA: 404830
Private Declare Sub getsockopt Lib "wsock32.dll"()
'VA: 4047EC
Private Declare Sub gethostbyname Lib "wsock32.dll"()
'VA: 4047A4
Private Declare Sub gethostbyaddr Lib "wsock32.dll"()
'VA: 40475C
Private Declare Sub closesocket Lib "wsock32.dll"()

0 yorum: