ReactOS  0.4.15-dev-448-gd6c4411
CConfirmReplace.cpp File Reference
#include "precomp.h"
Include dependency graph for CConfirmReplace.cpp:

Go to the source code of this file.

Classes

class  CConfirmReplace
 

Functions

eZipConfirmResponse _CZipAskReplace (HWND hDlg, PCSTR FullPath)
 

Function Documentation

◆ _CZipAskReplace()

eZipConfirmResponse _CZipAskReplace ( HWND  hDlg,
PCSTR  FullPath 
)

Definition at line 54 of file CConfirmReplace.cpp.

55 {
56  PCSTR Filename = PathFindFileNameA(FullPath);
58  INT_PTR Result = confirm.DoModal(hDlg);
59  switch (Result)
60  {
61  case IDYES: return eYes;
62  case IDYESALL: return eYesToAll;
63  default:
64  case IDNO: return eNo;
65  case IDCANCEL: return eCancel;
66  }
67 }
#define IDYES
Definition: winuser.h:829
Definition: precomp.h:71
#define IDYESALL
Definition: resource.h:21
int32_t INT_PTR
Definition: typedefs.h:63
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:934
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
Definition: precomp.h:73
int confirm(const char *cmd, const char *file)
Definition: cmds.c:1636
const char * PCSTR
Definition: typedefs.h:52
#define IDNO
Definition: winuser.h:830
LPSTR WINAPI PathFindFileNameA(LPCSTR lpszPath)
Definition: path.c:368
#define IDCANCEL
Definition: winuser.h:825

Referenced by CZipExtract::Extract().