include vmd.inc
mov eax, SAVERESTORESTATE
mov cx, ActionFlag
mov edi, OFFSET32 SaveBuf
mov esi, OFFSET32 RestoreBuf
Call CursorProc
Saves or restores the state of the cursor VxD, or reports the required size, in bytes, of the buffer used to save the VxD's state information.
Action | Meaning |
---|---|
0 | Returns the required size, in bytes, of the buffer used to save the cursor state |
1 | Saves state information in the buffer pointed to by EDX |
2 | Restores state information from the buffer pointed to by ESI |