rt

解决方案 »

  1.   

    GetCurrentProcess返回0xffffffff是什么意思? ~~~
    A pseudo handle is a special constant, currently (HANDLE)-1, that is interpreted as the current process handle~~
    表示的意思是当前进程的句柄~~因为-1表示刚好是0xffffffff`~~
      

  2.   

    获得的进程句柄无效!
    有多种可能导致这个结果:
    1  可能是由于函数调用失败,如多线程同步访问此 API函数。
    2  可能是由于参数传递错误,如进程ID无效。可以结贴了!
      

  3.   

    This function only returns a pseudo handle. That means you can't make it inheriatable and pass it to other process. you can use it normally in current process.---sorry I can't switch to chinese right now...