当然有,createfile 
  详细资料可以去查 msdn.

解决方案 »

  1.   

    HANDLE CreateFile(
      LPCTSTR lpFileName,                         // file name
      DWORD dwDesiredAccess,                      // access mode
      DWORD dwShareMode,                          // share mode
      LPSECURITY_ATTRIBUTES lpSecurityAttributes, // SD
      DWORD dwCreationDisposition,                // how to create
      DWORD dwFlagsAndAttributes,                 // file attributes
      HANDLE hTemplateFile                        // handle to template file
    );
    哪个参数是?
      

  2.   

    LPSECURITY_ATTRIBUTES lpSecurityAttributes
    这个参数就是文件的大小
    你看看这个结构SECURITY_ATTRIBUTES的说明把
      

  3.   

    sorry 看错了,还是乱填数据吧