MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / IL_GetSize

Function IL_GetSize

src/Dlapi.c:1503–1521  ·  view source on GitHub ↗

============================================================================= IL_GetSize() Retrieves the number of bytes in a pidl Does not add space for zero terminators !!

Source from the content-addressed store, hash-verified

1501// Does not add space for zero terminators !!
1502//
1503UINT IL_GetSize(LPCITEMIDLIST pidl)
1504{
1505
1506 LPITEMIDLIST pidlTmp;
1507 UINT cb = 0;
1508
1509 if (!pidl)
1510 return 0;
1511
1512 for (pidlTmp = (LPITEMIDLIST)pidl;
1513 pidlTmp->mkid.cb;
1514 pidlTmp = _IL_Next(pidlTmp))
1515
1516 cb += pidlTmp->mkid.cb;
1517
1518
1519 return cb;
1520
1521}
1522
1523
1524//=============================================================================

Callers 2

DirList_FillFunction · 0.85
IL_CreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected