Windows error 0x000003EA, 1002

Detailed Error Information

INVALID_MESSAGE[1]

MessageThe window cannot act on the sent message.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x800703EA.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code1002 (0x03ea)

Questions

1vote
3answers

Accessing Elements from Other Processes

I would like to “read” information from a window not related to my program. If I have a process ID and a window handle: Process Proc = Process.GetProcessById(ProcID); IntPtr hdl = Proc.MainWindowHandle; And I have information from spy++ telling me that the control-ID of the element I’m interested in is [...] read more
c#
interprocess

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0