Would GetProcessId work?  It would reduce the number of member variables by one.  e.g.:

        if (m_childProcess == NULL)
            result = -1;
        else
            result = GetProcessId(m_childProcess);