Screen acquisition method and system
An acquisition method and acquisition system technology, applied in the field of screen acquisition methods and systems, can solve the problems of missing wonderful moments and being unable to inject and acquire at any time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0095] Monitor screenshot shortcut keys or screenshot controls;
[0096] When the screenshot shortcut key or the screenshot control is triggered, a screenshot command is sent;
[0097] Obtain screenshot command;
[0098] Loading the screenshot module to the process; the process is the process of the window where the picture to be captured is located;
[0099] Create the first window;
[0100] Create a drawing interface on the first window;
[0101] Create a rendering device using the create rendering device function in the drawing interface;
[0102] Obtaining the entry address of the display function in the rendering device to obtain the first address; the display function is used to display the picture drawn in the background on the current interface;
[0103] Presetting the first function; obtaining the entry address of the first function to obtain a second address; the first function is used to intercept the window screen and execute the function body of the display fu...
Embodiment 2
[0116] Monitor the screenshot shortcut key F10. When the user presses F10, a screenshot command is sent to the process of the window where the screen to be captured is located. After the process obtains the screenshot instruction, load the screenshot module. The screenshot module creates a rendering device by simulating the creation process of DirectX, specifically: using the CreateWindow function to create a window, using the Direct3DCreate9 function to create a DirectX9 interface, and using the CreateDevice function to create a DirectX9 rendering device. Obtain the entry address of the display function Present in the rendering device to obtain the first address, the display function Present is used to display the picture drawn in the background on the current interface, preset the first function, and obtain the first function The entry address to get the second address; the first function is used to intercept the window screen and execute the function body of the display fun...
Embodiment 3
[0118] Monitoring module 14 monitors screenshot shortcut keys or screenshot controls;
[0119] When the sending module 15 triggers the screenshot shortcut key or the screenshot control, it sends a screenshot instruction;
[0120] The first acquiring module 1 acquires a screenshot instruction;
[0121] Loading module 2 loads the screenshot module to the process; the process is the process of the window where the picture to be screenshot is located;
[0122] The second creation module 16 creates the first window;
[0123] The third creating module 17 creates a drawing interface on the first window;
[0124] The third creation module 3 calls the fourth creation module 18 to create a rendering device using the function of creating a rendering device in the drawing interface;
[0125] The second acquisition module 4 acquires the entry address of the display function in the rendering device to obtain the first address; the display function is used to display the picture drawn in ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


