_GetVxDName
#include vmm.h
_GetVxDName(DWORD laddr, DWORD pszName);
mov [BaseAddr], eax
Retrieves the name of the VxD that contains the specified linear address.
- Returns the base address of the VxD in the EAX register if successful; otherwise returns 0 in EAX. Uses C calling convention.
- laddr
- Linear address to locate.
- pszName
- Buffer to receive the object name. If the function fails, pszName is filled in with the ASCII version of laddr. This buffer must be at least 80 bytes in size.
Object names consist of the VxD name, segment number, and offset; for example, VTDAPI(03) + 27C.