ReactOS 0.4.15-dev-7924-g5949c20
CZipPassword.cpp File Reference
#include "precomp.h"
Include dependency graph for CZipPassword.cpp:

Go to the source code of this file.

Classes

class  CZipPassword
 

Functions

eZipPasswordResponse _CZipAskPassword (HWND hDlg, PCWSTR filename, CStringA &Password)
 

Function Documentation

◆ _CZipAskPassword()

eZipPasswordResponse _CZipAskPassword ( HWND  hDlg,
PCWSTR  filename,
CStringA Password 
)

Definition at line 68 of file CZipPassword.cpp.

69{
70 if (filename)
73 INT_PTR Result = password.DoModal(hDlg);
74 switch (Result)
75 {
76 case IDOK: return eAccept;
77 case IDSKIP: return eSkip;
78 default:
79 case IDCANCEL: return eAbort;
80 }
81}
@ eAccept
Definition: precomp.h:64
@ eSkip
Definition: precomp.h:63
@ eAbort
Definition: precomp.h:62
#define IDSKIP
Definition: resource.h:34
LPWSTR WINAPI PathFindFileNameW(LPCWSTR lpszPath)
Definition: path.c:394
const char * filename
Definition: ioapi.h:137
static WCHAR password[]
Definition: url.c:33
@ Password
Definition: telnetd.h:65
int32_t INT_PTR
Definition: typedefs.h:64
#define IDCANCEL
Definition: winuser.h:831
#define IDOK
Definition: winuser.h:830
_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(), and CZipExtract::CExtractSettingsPage::OnPassword().