ReactOS 0.4.16-dev-297-gc569aee
|
#include "ntvdm.h"
#include <debug.h>
#include "emulator.h"
#include "vddsup.h"
#include "cpu/bop.h"
#include <isvbop.h>
Go to the source code of this file.
Classes | |
struct | _VDD_MODULE |
struct | _VDD_USER_HANDLERS |
Macros | |
#define | NDEBUG |
#define | MAX_VDD_MODULES 0xFF + 1 |
#define | ENTRY_TO_HANDLE(Entry) ((Entry) + 1) |
#define | HANDLE_TO_ENTRY(Handle) ((Handle) - 1) |
#define | IS_VALID_HANDLE(Handle) ((Handle) > 0 && (Handle) <= MAX_VDD_MODULES) |
#define | ERROR_MEMORYVDD L"Insufficient memory to load installable Virtual Device Drivers." |
#define | ERROR_REGVDD L"Virtual Device Driver format in the registry is invalid." |
#define | ERROR_LOADVDD L"An installable Virtual Device Driver failed Dll initialization." |
Typedefs | |
typedef VOID(WINAPI * | VDD_PROC) (VOID) |
typedef struct _VDD_MODULE | VDD_MODULE |
typedef struct _VDD_MODULE * | PVDD_MODULE |
typedef struct _VDD_USER_HANDLERS | VDD_USER_HANDLERS |
typedef struct _VDD_USER_HANDLERS * | PVDD_USER_HANDLERS |
Functions | |
static USHORT | GetNextFreeVDDEntry (VOID) |
static VOID WINAPI | ThirdPartyVDDBop (LPWORD Stack) |
static BOOL | LoadInstallableVDD (VOID) |
BOOL WINAPI | VDDInstallUserHook (IN HANDLE hVdd, IN PFNVDD_UCREATE Ucr_Handler, IN PFNVDD_UTERMINATE Uterm_Handler, IN PFNVDD_UBLOCK Ublock_Handler, IN PFNVDD_URESUME Uresume_Handler) |
BOOL WINAPI | VDDDeInstallUserHook (IN HANDLE hVdd) |
VOID | VDDCreateUserHook (USHORT DosPDB) |
VOID | VDDTerminateUserHook (USHORT DosPDB) |
VOID | VDDBlockUserHook (VOID) |
VOID | VDDResumeUserHook (VOID) |
VOID | VDDSupInitialize (VOID) |
Variables | |
static VDD_MODULE | VDDList [MAX_VDD_MODULES] = {{NULL}} |
static LIST_ENTRY | VddUserHooksList = {&VddUserHooksList, &VddUserHooksList} |
#define IS_VALID_HANDLE | ( | Handle | ) | ((Handle) > 0 && (Handle) <= MAX_VDD_MODULES) |
typedef struct _VDD_MODULE * PVDD_MODULE |
typedef struct _VDD_USER_HANDLERS * PVDD_USER_HANDLERS |
typedef struct _VDD_MODULE VDD_MODULE |
Definition at line 253 of file vddsup.c.
Referenced by VDDSupInitialize().
Definition at line 70 of file vddsup.c.
Referenced by VDDSupInitialize().
Definition at line 479 of file vddsup.c.
Referenced by EmulatorPause().
Definition at line 453 of file vddsup.c.
Referenced by DosLoadExecutableInternal().
Definition at line 420 of file vddsup.c.
BOOL WINAPI VDDInstallUserHook | ( | IN HANDLE | hVdd, |
IN PFNVDD_UCREATE | Ucr_Handler, | ||
IN PFNVDD_UTERMINATE | Uterm_Handler, | ||
IN PFNVDD_UBLOCK | Ublock_Handler, | ||
IN PFNVDD_URESUME | Uresume_Handler | ||
) |
Definition at line 375 of file vddsup.c.
Definition at line 492 of file vddsup.c.
Referenced by EmulatorResume().
Definition at line 506 of file vddsup.c.
Referenced by EmulatorInitialize().
Definition at line 466 of file vddsup.c.
Referenced by DosTerminateProcess().
|
static |
Definition at line 49 of file vddsup.c.
Referenced by GetNextFreeVDDEntry(), LoadInstallableVDD(), and ThirdPartyVDDBop().
|
static |
Definition at line 56 of file vddsup.c.
Referenced by VDDBlockUserHook(), VDDCreateUserHook(), VDDDeInstallUserHook(), VDDInstallUserHook(), VDDResumeUserHook(), and VDDTerminateUserHook().