Leaked source code of windows server 2003
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.

33 lines
1009 B

  1. /*****************************************************************************\
  2. FILE: newmenu.h
  3. DESCRIPTION:
  4. The file supports the "New" menu to create new items on the FTP server.
  5. This currently only supports Folders but hopefully it will support other
  6. items later.
  7. \*****************************************************************************/
  8. #ifndef _NEWMENU_H
  9. #define _NEWMENU_H
  10. // For CreateNewFolderCB:
  11. // The following struct is used when recursively downloading
  12. // files/dirs from the FTP server after a "Download" verb.
  13. typedef struct tagFTPCREATEFOLDERSTRUCT
  14. {
  15. LPCWSTR pszNewFolderName;
  16. CFtpFolder * pff;
  17. } FTPCREATEFOLDERSTRUCT;
  18. // Public APIs (DLL wide)
  19. HRESULT CreateNewFolder(HWND hwnd, CFtpFolder * pff, CFtpDir * pfd, IUnknown * punkSite, BOOL fPosition, POINT point);
  20. HRESULT CreateNewFolderCB(HINTERNET hint, HINTPROCINFO * phpi, LPVOID pvFCFS, BOOL * pfReleaseHint);
  21. #endif // _NEWMENU_H