PSDHLP CALL REAL MODE: Difference between revisions
Appearance
Created page with "Call a PSD function in real mode. This function is used by the PSD developer to call one of his PSD functions in real mode. ; Mode : Callable in Init mode only. ==Syntax== ..." |
(No difference)
|
Revision as of 22:04, 21 August 2017
Call a PSD function in real mode.
This function is used by the PSD developer to call one of his PSD functions in real mode.
- Mode
- Callable in Init mode only.
Syntax
PSDHLP_CALL_REAL_MODE <keywords>
Parameters
Pointer to a CALL_REAL_MODE structure.
ulong_t function; ulong_t pdata;
- function
- contains the linear address of the function to be called in real mode.
- pdata
- contains the linear address of a parameter to be passed to the real mode function. The parameter is pointed to by DS:SI on entry to the called function.
Return Code
A return code may be returned by the real mode function in EAX.
Remarks
The function can not call a PSD help that may block.
Structure
typedef struct call_real_mode_s { ulong_t function; ulong_t pdata; } CALL_REAL_MODE;