////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public int GetHostPid(AD_PROCESS_ID [] pHostProcessId)
        {
            //
            // Gets the system process identifier for the process hosting the program.
            //

            LoggingUtils.PrintFunction();

            try
            {
                LoggingUtils.RequireOk(DebugProcess.GetPhysicalProcessId(pHostProcessId));

                return(Constants.S_OK);
            }
            catch (Exception e)
            {
                LoggingUtils.HandleException(e);

                return(Constants.E_FAIL);
            }
        }