Пример #1
0
        public uint InjectDllRedirectThread(IntPtr hThread, string szDllPath)
        {
            if (!m_bProcessOpen)
            {
                return(RETURN_ERROR);
            }

            return(SInject.InjectDllRedirectThread(m_hProcess, hThread, szDllPath));
        }
Пример #2
0
        public uint InjectDllCreateThread(string szDllPath)
        {
            if (!m_bProcessOpen)
            {
                return(RETURN_ERROR);
            }

            return(SInject.InjectDllCreateThread(m_hProcess, szDllPath));
        }
Пример #3
0
        public uint InjectDllRedirectThread(string szDllPath)
        {
            if (!m_bProcessOpen)
            {
                return(RETURN_ERROR);
            }

            if (m_bThreadOpen)
            {
                return(SInject.InjectDllRedirectThread(m_hProcess, m_hThread, szDllPath));
            }

            return(SInject.InjectDllRedirectThread(m_hProcess, m_ProcessId, szDllPath));
        }