newmenu.h

来自「很好用的ftp源码」· C头文件 代码 · 共 34 行

H
34
字号
/*****************************************************************************\
    FILE: newmenu.h
    
    DESCRIPTION:
        The file supports the "New" menu to create new items on the FTP server.
    This currently only supports Folders but hopefully it will support other
    items later.
\*****************************************************************************/

#ifndef _NEWMENU_H
#define _NEWMENU_H

// For CreateNewFolderCB:
// The following struct is used when recursively downloading
// files/dirs from the FTP server after a "Download" verb.
typedef struct tagFTPCREATEFOLDERSTRUCT
{
    LPCWSTR             pszNewFolderName;
    CFtpFolder *        pff;
} FTPCREATEFOLDERSTRUCT;


// Public APIs (DLL wide)
HRESULT CreateNewFolder(HWND hwnd, CFtpFolder * pff, CFtpDir * pfd, IUnknown * punkSite, BOOL fPosition, POINT point);
HRESULT CreateNewFolderCB(HINTERNET hint, HINTPROCINFO * phpi, LPVOID pvFCFS, BOOL * pfReleaseHint);


#endif // _NEWMENU_H





⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?