If the call to this function fails, you can assume the SID was invalid — even if it's a well-known SID.