I'am trying to get the text outputing by ExtTextOutW function, and the first thing that i came up with is, that go and hook this function, for example by injecting dll in the target process. So from there i can get the hdc, text and flags. However, i have the application that calls this function many many times, so i don't want to hook and make checks for all the calls. Is there a way, i can get the text printed on form by ExtTextOutW without hooking it, maybe using the hdc where it outputs the data?
Get text drawn by ExtTextOut
348 Views Asked by Vladislav At
1
There are 1 best solutions below
Related Questions in C
- How to determine which Windows drives map to which SAN storage devices using WMI?
- Get all visualsvn permissions for particular (user)SID from python WMI
- Facing error "System.IO.FileNotFoundException:"
- Getting access denied when trying to extract system information using a asp.net web application
- Calling a method of a WMI Class
- Invoking a method thtough C#
- How to collect windows performance counter data (WMI) using Logstash forwarder
- How to check if every users on the system has administrator rights in C#
- WMI query for Counter of type RateOfCountsPerSecond32 shows raw value instead of persecond value
- How to access hidden partitions/volumes
Related Questions in WINAPI
- How to determine which Windows drives map to which SAN storage devices using WMI?
- Get all visualsvn permissions for particular (user)SID from python WMI
- Facing error "System.IO.FileNotFoundException:"
- Getting access denied when trying to extract system information using a asp.net web application
- Calling a method of a WMI Class
- Invoking a method thtough C#
- How to collect windows performance counter data (WMI) using Logstash forwarder
- How to check if every users on the system has administrator rights in C#
- WMI query for Counter of type RateOfCountsPerSecond32 shows raw value instead of persecond value
- How to access hidden partitions/volumes
Related Questions in TEXT
- How to determine which Windows drives map to which SAN storage devices using WMI?
- Get all visualsvn permissions for particular (user)SID from python WMI
- Facing error "System.IO.FileNotFoundException:"
- Getting access denied when trying to extract system information using a asp.net web application
- Calling a method of a WMI Class
- Invoking a method thtough C#
- How to collect windows performance counter data (WMI) using Logstash forwarder
- How to check if every users on the system has administrator rights in C#
- WMI query for Counter of type RateOfCountsPerSecond32 shows raw value instead of persecond value
- How to access hidden partitions/volumes
Related Questions in PRINTING
- How to determine which Windows drives map to which SAN storage devices using WMI?
- Get all visualsvn permissions for particular (user)SID from python WMI
- Facing error "System.IO.FileNotFoundException:"
- Getting access denied when trying to extract system information using a asp.net web application
- Calling a method of a WMI Class
- Invoking a method thtough C#
- How to collect windows performance counter data (WMI) using Logstash forwarder
- How to check if every users on the system has administrator rights in C#
- WMI query for Counter of type RateOfCountsPerSecond32 shows raw value instead of persecond value
- How to access hidden partitions/volumes
Related Questions in OUTPUT
- How to determine which Windows drives map to which SAN storage devices using WMI?
- Get all visualsvn permissions for particular (user)SID from python WMI
- Facing error "System.IO.FileNotFoundException:"
- Getting access denied when trying to extract system information using a asp.net web application
- Calling a method of a WMI Class
- Invoking a method thtough C#
- How to collect windows performance counter data (WMI) using Logstash forwarder
- How to check if every users on the system has administrator rights in C#
- WMI query for Counter of type RateOfCountsPerSecond32 shows raw value instead of persecond value
- How to access hidden partitions/volumes
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Hooking is the only way you can get the parameter data that is being passed to
ExtTextOutW(). If you are only interested in data for a specificHDC, you will have to filter accordingly. However,HDCs tend to be created dynamically when needed, so you likely cannot filter on the actualHDCvalue itself, as it will be different each time. Fortunately, if theHDCbelongs to a window (and it sounds like you want to intercept calls for a specific window), you can useWindowFromDC()to get theHWNDof theHDCthat is being drawn on, and then filter on that as needed.