ReactOS  0.4.15-dev-1049-g1062a29
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 67 of file CZipPassword.cpp.

68 {
69  if (filename)
72  INT_PTR Result = password.DoModal(hDlg);
73  switch (Result)
74  {
75  case IDOK: return eAccept;
76  case IDSKIP: return eSkip;
77  default:
78  case IDCANCEL: return eAbort;
79  }
80 }
#define IDOK
Definition: winuser.h:824
int32_t INT_PTR
Definition: typedefs.h:64
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:31
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().