Exemplo n.º 1
0
        public static uint ICorPublishAppDomainEnum_GetCount(this CorpubPublishClass instance)
        {
            uint pcelt;

            instance.__ICorPublishAppDomainEnum_GetCount(out pcelt);
            return(pcelt);
        }
Exemplo n.º 2
0
        public static uint GetProcessID(this CorpubPublishClass instance)
        {
            uint pid;

            instance.__GetProcessID(out pid);
            return(pid);
        }
Exemplo n.º 3
0
        public static ICorPublishEnum ICorPublishAppDomainEnum_Clone(this CorpubPublishClass instance)
        {
            ICorPublishEnum ppEnum;

            instance.__ICorPublishAppDomainEnum_Clone(out ppEnum);
            return(ppEnum);
        }
Exemplo n.º 4
0
        public static ICorPublishAppDomainEnum EnumAppDomains(this CorpubPublishClass instance)
        {
            ICorPublishAppDomainEnum ppEnum;

            instance.__EnumAppDomains(out ppEnum);
            return(ppEnum);
        }
Exemplo n.º 5
0
        public static ICorPublishProcess GetProcess(this CorpubPublishClass instance, uint pid)
        {
            ICorPublishProcess ppProcess;

            instance.__GetProcess(pid, out ppProcess);
            return(ppProcess);
        }
Exemplo n.º 6
0
        public static uint GetID(this CorpubPublishClass instance)
        {
            uint puId;

            instance.__GetID(out puId);
            return(puId);
        }
Exemplo n.º 7
0
        public static ICorPublishProcessEnum EnumProcesses(this CorpubPublishClass instance, COR_PUB_ENUMPROCESS Type)
        {
            ICorPublishProcessEnum ppIEnum;

            instance.__EnumProcesses(Type, out ppIEnum);
            return(ppIEnum);
        }
Exemplo n.º 8
0
        public static int IsManaged(this CorpubPublishClass instance)
        {
            int pbManaged;

            instance.__IsManaged(out pbManaged);
            return(pbManaged);
        }
Exemplo n.º 9
0
        public static uint GetCount(this CorpubPublishClass instance)
        {
            uint pcelt;

            instance.__GetCount(out pcelt);
            return(pcelt);
        }
        public static ICorPublishEnum Clone(this CorpubPublishClass instance)
        {
            ICorPublishEnum ppEnum;

            instance.__Clone(out ppEnum);
            ProcessOutParameter(ppEnum);
            return(ppEnum);
        }
Exemplo n.º 11
0
 public static void GetName(this CorpubPublishClass instance, uint cchName, out uint pcchName, StringBuilder szName)
 {
     instance.__GetName(cchName, out pcchName, szName);
 }
 public static void Next(this CorpubPublishClass instance, uint celt, out ICorPublishAppDomain objects, out uint pceltFetched)
 {
     instance.__Next(celt, out objects, out pceltFetched);
     ProcessOutParameter(objects);
 }
Exemplo n.º 13
0
 public static void Skip(this CorpubPublishClass instance, uint celt)
 {
     instance.__Skip(celt);
 }
Exemplo n.º 14
0
 public static void Reset(this CorpubPublishClass instance)
 {
     instance.__Reset();
 }
Exemplo n.º 15
0
 public static void Next(this CorpubPublishClass instance, uint celt, out ICorPublishProcess objects, out uint pceltFetched)
 {
     instance.__Next(celt, out objects, out pceltFetched);
 }
Exemplo n.º 16
0
 public static void ICorPublishAppDomainEnum_Reset(this CorpubPublishClass instance)
 {
     instance.__ICorPublishAppDomainEnum_Reset();
 }
Exemplo n.º 17
0
 public static void ICorPublishAppDomainEnum_Skip(this CorpubPublishClass instance, uint celt)
 {
     instance.__ICorPublishAppDomainEnum_Skip(celt);
 }
Exemplo n.º 18
0
 //TODO: Why isn't this method used by AttachToProcessWindow?
 public static bool IsManaged(int processId)
 {
     var corPublish = new CorpubPublishClass();
     ICorPublishProcess process = corPublish.GetProcess((uint)processId);
     if (process != null) {
         return process.IsManaged() != 0;
     }
     return false;
 }