ReactOS 0.4.15-dev-7842-g558ab78
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, PCWSTR FullPath)
 

Function Documentation

◆ _CZipAskReplace()

eZipConfirmResponse _CZipAskReplace ( HWND  hDlg,
PCWSTR  FullPath 
)

Definition at line 53 of file CConfirmReplace.cpp.

54{
57 INT_PTR Result = confirm.DoModal(hDlg);
58 switch (Result)
59 {
60 case IDYES: return eYes;
61 case IDYESALL: return eYesToAll;
62 default:
63 case IDNO: return eNo;
64 case IDCANCEL: return eCancel;
65 }
66}
int confirm(const char *cmd, const char *file)
Definition: cmds.c:1636
@ eCancel
Definition: precomp.h:74
@ eNo
Definition: precomp.h:73
@ eYes
Definition: precomp.h:71
@ eYesToAll
Definition: precomp.h:72
#define IDYESALL
Definition: resource.h:29
LPWSTR WINAPI PathFindFileNameW(LPCWSTR lpszPath)
Definition: path.c:394
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:939
int32_t INT_PTR
Definition: typedefs.h:64
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define IDCANCEL
Definition: winuser.h:831
#define IDNO
Definition: winuser.h:836
#define IDYES
Definition: winuser.h:835
_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:409

Referenced by CZipExtract::ExtractSingle().