ReactOS  0.4.14-dev-376-gaedba84
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 64 of file CConfirmReplace.cpp.

65 {
66  PCSTR Filename = PathFindFileNameA(FullPath);
68  INT_PTR Result = confirm.DoModal(hDlg);
69  switch (Result)
70  {
71  case IDYES: return eYes;
72  case IDYESALL: return eYesToAll;
73  default:
74  case IDNO: return eNo;
75  case IDCANCEL: return eCancel;
76  }
77 }
#define IDYES
Definition: winuser.h:829
Definition: precomp.h:71
#define IDYESALL
Definition: resource.h:20
int32_t INT_PTR
Definition: typedefs.h:62
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:925
_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:51
#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().