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

Function crypt_fill_find_data_list

cppcryptfs/dokan/cryptdokan.cpp:2486–2499  ·  view source on GitHub ↗

use our own callback so rest of the code doesn't need to know about Dokany internals

Source from the content-addressed store, hash-verified

2484
2485// use our own callback so rest of the code doesn't need to know about Dokany internals
2486static int WINAPI crypt_fill_find_data_list(PWIN32_FIND_DATAW fdata,
2487 PWIN32_FIND_DATAW fdata_orig,
2488 void *dokan_cb, void *dokan_ctx) {
2489 list<FindDataPair> *findDatas = (list<FindDataPair> *)dokan_ctx;
2490
2491 FindDataPair pair;
2492
2493 pair.fdata = *fdata;
2494 pair.fdata_orig = *fdata_orig;
2495
2496 findDatas->push_back(pair);
2497
2498 return 0;
2499}
2500
2501wstring transform_path(const wchar_t* path, wstring& mes)
2502{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected