MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / BrowseDirectoryCallback

Function BrowseDirectoryCallback

cppcryptfs/ui/FolderDialog.cpp:21–32  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////// Construction/Destruction /////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

19// Construction/Destruction
20//////////////////////////////////////////////////////////////////////
21static int CALLBACK BrowseDirectoryCallback(
22 HWND hWnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
23{
24 // Context was pointer to CFolderDialog instance
25 CFolderDialog* pFd = (CFolderDialog*)lpData;
26
27 // Let the class handle it
28 pFd->CallbackFunction(hWnd, uMsg, lParam);
29
30 // Always return 0 as per SHBrowseFolder spec
31 return 0;
32}
33
34CFolderDialog::CFolderDialog(LPCTSTR lpszFolderName, DWORD dwFlags, CWnd* pParentWnd)
35{

Callers

nothing calls this directly

Calls 1

CallbackFunctionMethod · 0.80

Tested by

no test coverage detected