MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / CompareIdls

Function CompareIdls

Explorer++/Helper/ShellHelper.cpp:958–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956}
957
958BOOL CompareIdls(PCIDLIST_ABSOLUTE pidl1, PCIDLIST_ABSOLUTE pidl2)
959{
960 IShellFolder *pDesktopFolder = NULL;
961 HRESULT hr;
962 BOOL ret = FALSE;
963
964 hr = SHGetDesktopFolder(&pDesktopFolder);
965
966 if (SUCCEEDED(hr))
967 {
968 hr = pDesktopFolder->CompareIDs(0, pidl1, pidl2);
969
970 if (HRESULT_CODE(hr) == 0)
971 {
972 ret = TRUE;
973 }
974
975 pDesktopFolder->Release();
976 }
977
978 return ret;
979}
980
981HRESULT AddJumpListTasks(const std::list<JumpListTaskInformation> &taskList)
982{

Callers 12

OpenItemMethod · 0.85
WinMainFunction · 0.85
LocateItemInternalMethod · 0.85
CanCreateMethod · 0.85
QueueRenameMethod · 0.85
UpdateDriveIconMethod · 0.85
InsertAwaitingItemsMethod · 0.85
TestCompareIdlsFunction · 0.85
IsNamespaceRootFunction · 0.85
TEST_FFunction · 0.85

Calls 1

ReleaseMethod · 0.45

Tested by 2

TestCompareIdlsFunction · 0.68
TEST_FFunction · 0.68