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

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

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

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

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

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

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

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

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