The InquireSave function returns the size of the screen save buffer.
AX
Specifies the action to take. It can contain one of the following values.
Value | Meaning |
1 | Returns buffer size for text capture. |
2 | Returns buffer size for graphics capture. |
DS
Specifies the segment address of the grabber (CS and DS registers are equal).
The return value in the DX:AX register pair is the specified buffer size (in bytes).
The InquireSave (or InquireGrab) function is responsible for carrying out any necessary initializations for the grabber the first time the function is called. Windows calls either InquireGrab or InquireSave before any other call to a grabber function (unless the InitScreen function is present).