Even though MS docs [1] say that DeriveCapabilitySidsFromName is in advapi32 or kernel32 I could not find it there (the docs also say that it is available since Windows Server 2003 for desktop apps which also seems to be not the case).
1. https://learn.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-secur...