|
If you mean "Terminal Sessions", program can use CreateMailslot and GetMailslotInfo functions to check how many instances running under different Terminal Sessions (in addition to many uniqueness checks under same Terminal Session, with FindWindow, CreateMutex, CreateSemaphore, etc functions)
If you unsure in EIP value after ShowWindow check stack integrity right before ShowWindow and correctness of all function's parameters (check whether exceptions occurs inside ShowWindow)
|