Method and device for page mute
A mute and page technology, applied in the Internet field, can solve problems such as page mute failure, and achieve the effect of solving page mute failure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] figure 1 The implementation flow of the page muting method provided by Embodiment 1 of the present invention is shown, and the method process is described in detail as follows:
[0025] In step S101, a first function in a dynamic link library is called to create an interface.
[0026] In this embodiment, the specific process of calling the first function (such as the CoCreateInstanceEx function) in the dynamic link library (such as ole32.dll) includes:
[0027] Create a first function, the created first function contains the same parameters as the first function in the dynamic link library;
[0028] The pointer of the first function in the dynamic link library is replaced with the created pointer of the first function, so as to complete the HooK of the first function in the dynamic link library.
[0029] The purpose of the first function in the dynamic link library described in the present embodiment HooK is to make subsequent calls to the first function in the dynami...
Embodiment 2
[0058] figure 2 The specific flow of the page mute method provided by Embodiment 2 of the present invention is shown, and the process of the method is described in detail as follows:
[0059] In step S201, HooK CoCreateInstanceEx function to create the first interface.
[0060] In this embodiment, the CoCreateInstanceEx function is a function in the dynamic link library ole32.dll. Among them, the CoCreateInstanceEx function prototype example is as follows:
[0061] HRESULT CoCreateInstanceEx(
[0062] REFCLSID rclsid,
[0063] IUnknown*punkOuter,
[0064] DWORD dwClsCtx,
[0065] COSERVERINFO*pServerInfo,
[0066] ULONG cmq,
[0067] MULTI_QI*pResults);
[0068] In the present embodiment, the specific process of the HooK CoCreateInstanceEx function is to create the CoCreateInstanceEx function, the CoCreateInstanceEx function created and the CoCreateInstanceEx function in the ole32.dll assembly contain the same parameters, and the pointer of the CoCreateInstanceEx func...
Embodiment 3
[0081] image 3 The composition structure of the page mute device provided by the third embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0082] The page mute device may be a software unit, a hardware unit, or a combination of software and hardware running in each player, or it may be integrated into the player or the application system of the player as an independent pendant.
[0083] The page mute device includes a first calling unit 31 , a second calling unit 32 and a mute unit 33 . Among them, the specific functions of each unit are as follows:
[0084] The first calling unit 31 is used to call the first function in the dynamic link library to create an interface;
[0085] The second calling unit 32 is configured to call the second function in the first interface to create an interface when the created interface is the first interface;
[0086] The mute uni...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


