导航

window编程细节

Posted on 2019-07-19 11:41  talenth  阅读(150)  评论(0编辑  收藏  举报

<1> windowsAPI创建句柄失败的返回值

  INVALID_HANDLE_VALUE

    CreateFile

    CreateNamedPipe

    CreateToolhelp32Snapshot

FilterConnectCommunicationPort 

  NULL

    其余所有

<2> 32位程序在x64环境下执行默认不使用重定向的api

  • PathFileExistsW
  • GetFileVersionInfoSize
  • GetFileVersionInfo