ReactOS  0.4.14-dev-376-gaedba84
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, const char *filename, CStringA &Password)
 

Function Documentation

◆ _CZipAskPassword()

eZipPasswordResponse _CZipAskPassword ( HWND  hDlg,
const char filename,
CStringA Password 
)

Definition at line 78 of file CZipPassword.cpp.

79 {
80  if (filename)
83  INT_PTR Result = password.DoModal(hDlg);
84  switch (Result)
85  {
86  case IDOK: return eAccept;
87  case IDSKIP: return eSkip;
88  default:
89  case IDCANCEL: return eAbort;
90  }
91 }
#define IDOK
Definition: winuser.h:824
int32_t INT_PTR
Definition: typedefs.h:62
const char * filename
Definition: ioapi.h:135
Definition: precomp.h:63
_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
T1_FIELD_DICT_PRIVATE password
Definition: t1tokens.h:64
#define IDSKIP
Definition: resource.h:25
Definition: precomp.h:62
LPSTR WINAPI PathFindFileNameA(LPCSTR lpszPath)
Definition: path.c:368
#define IDCANCEL
Definition: winuser.h:825

Referenced by CZipExtract::Extract(), and CZipExtract::CExtractSettingsPage::OnPassword().