Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
783 B

  1. #ifndef __RUNONCE_
  2. #define __RUNONCE_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif // __cplusplus
  6. //////////////////////////////////////////////////////////////////////////////////////////////
  7. #include <windows.h>
  8. extern BOOL InitializeRunOnce(const BOOL fCleanStart);
  9. extern BOOL FinalizeRunOnce(const BOOL fComplete);
  10. extern BOOL SetRunOnceCleanupFile(LPCTSTR strSourceFilename, LPCTSTR strDestinationFilename, const BOOL fRegister);
  11. extern BOOL GetRunOnceCleanupFile(LPTSTR strSourceFilename, const DWORD dwSourceFilenameLen, LPTSTR strDestinationFilename, const DWORD dwDestinationFilenameLen, const BOOL fRegister);
  12. //////////////////////////////////////////////////////////////////////////////////////////////
  13. #ifdef __cplusplus
  14. }
  15. #endif // __cplusplus
  16. #endif // __RUNONCE_