zoukankan      html  css  js  c++  java
  • Windows API 第14篇 DeleteAndRenameFile

    函数定义:
    BOOL DeleteAndRenameFile( LPCWSTR lpszDestFile,  
                                                     LPCWSTR lpszSourFile
                                                    );
    说明
    函数把sourceFile的内容复制到DestFile中,然后再删除sourceFile。调用前必须保证sourceFile和DestFile都存在,否则,调用失败。当调用失败时,sourceFile和DestFile都不会改变。
    This function deletes the source file (lpszSourFile) after it copies the content of the source file to the destination file (lpszDestFile). Create the source file and the destination file before calling this function.

    注意:
    DeleteAndRenameFile只有对存储在基于RAM的文件系统上的文件管用,而且该函数只在WinCE上运行,一般开发不用

    返回值:
    成功返回1, 失败返回0

  • 相关阅读:
    004-基于统计的翻译系统
    003-LDA
    002-01朴素贝叶斯到语言模型
    001-NLP基础
    11-word2vec
    009-TensorFlow-GPU版本安装
    008-TensorFlow的模型保存于加载
    007-RNN和LSTM
    006-卷积神经网络
    《笨方法学python》随笔
  • 原文地址:https://www.cnblogs.com/priarieNew/p/9754700.html
Copyright © 2011-2022 走看看