Example #1
0
        public static uint ICorPublishAppDomainEnum_GetCount(this CorpubPublishClass instance)
        {
            uint pcelt;

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

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

            instance.__ICorPublishAppDomainEnum_Clone(out ppEnum);
            return(ppEnum);
        }
Example #4
0
        public static ICorPublishAppDomainEnum EnumAppDomains(this CorpubPublishClass instance)
        {
            ICorPublishAppDomainEnum ppEnum;

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

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

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

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

            instance.__IsManaged(out pbManaged);
            return(pbManaged);
        }
Example #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);
        }
Example #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);
 }
Example #13
0
 public static void Skip(this CorpubPublishClass instance, uint celt)
 {
     instance.__Skip(celt);
 }
Example #14
0
 public static void Reset(this CorpubPublishClass instance)
 {
     instance.__Reset();
 }
Example #15
0
 public static void Next(this CorpubPublishClass instance, uint celt, out ICorPublishProcess objects, out uint pceltFetched)
 {
     instance.__Next(celt, out objects, out pceltFetched);
 }
Example #16
0
 public static void ICorPublishAppDomainEnum_Reset(this CorpubPublishClass instance)
 {
     instance.__ICorPublishAppDomainEnum_Reset();
 }
Example #17
0
 public static void ICorPublishAppDomainEnum_Skip(this CorpubPublishClass instance, uint celt)
 {
     instance.__ICorPublishAppDomainEnum_Skip(celt);
 }
Example #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;
 }