Attribute VB_Name = "BoxedAppSDK"
Public Declare Function BoxedAppSDK_Init Lib "bxsdk32.dll" () As Long
Public Declare Sub BoxedAppSDK_Exit Lib "bxsdk32.dll" ()
Public Declare Sub BoxedAppSDK_EnableOption Lib "bxsdk32.dll" (ByVal dwOptionIndex As Long, ByVal bEnable As Boolean)
Public Const DEF_BOXEDAPPSDK_OPTION__ALL_CHANGES_ARE_VIRTUAL As Long = 1
Public Declare Function BoxedAppSDK_RegisterCOMLibraryInVirtualRegistryA Lib "bxsdk32.dll" (ByVal szVirtualFilePath As String) As Long
Public Declare Function BoxedAppSDK_AttachToProcess Lib "bxsdk32.dll" (ByVal hProcess As Long) As Long
Public Declare Function BoxedAppSDK_DetachFromProcess Lib "bxsdk32.dll" (ByVal hProcess As Long) As Long
Public Declare Function BoxedAppSDK_HookContext_GetArgument Lib "bxsdk32.dll" (ByVal hContext As Long, ByVal nArgumentIndex As Long) As Long
Public Declare Function BoxedAppSDK_HookContext_SetArgument Lib "bxsdk32.dll" (ByVal hContext As Long, ByVal nArgumentIndex As Long, ByVal Value As Long) As Long
Public Declare Function BoxedAppSDK_HookContext_GetProcessId Lib "bxsdk32.dll" (ByVal hContext As Long) As Long
Public Declare Function BoxedAppSDK_RemoteProcess_ReadStringW Lib "bxsdk32.dll" (ByVal dwProcessId As Long, ByVal Address As Long, ByRef pString As Long) As Long
Public Declare Function BoxedAppSDK_RemoteProcess_ReadStringA Lib "bxsdk32.dll" (ByVal dwProcessId As Long, ByVal Address As Long, ByRef pString As Long) As Long
Public Declare Function BoxedAppSDK_RemoteProcess_AllocStringW Lib "bxsdk32.dll" (ByVal dwProcessId As Long, ByVal Address As Long, ByVal pString As String) As Long
Public Declare Function BoxedAppSDK_RemoteProcess_AllocStringA Lib "bxsdk32.dll" (ByVal dwProcessId As Long, ByVal Address As Long, ByVal pString As String) As Long
Public Declare Function BoxedAppSDK_Alloc Lib "bxsdk32.dll" (ByVal nSize As Long) As Long
Public Declare Function BoxedAppSDK_Free Lib "bxsdk32.dll" (ByVal pAddress As Long) As Long
Public Declare Function BoxedAppSDK_RemoteProcess_HookFunction Lib "bxsdk32.dll" (ByVal dwProcessId As Long, ByVal pFunction As Long, ByVal dwFunctionType As Long, ByVal nArgumentCount As Long, ByVal pHook As Long, ByVal bEnable As Long) As Long
Public Const DEF_BOXEDAPPSDK_FUNCTION_TYPE__STDCALL As Long = 0
