I am using DAW's LibXL pkg


In the LibXL documentation, it shows how to set the password of a protected sheet using the SetProtect.
This doesn't seem to match what is in the LibXL.pkg and LibXL.h.pkg which seem to be missing the last two parameters of this line:

The documentation for LibXL shows like this.

Code:
void setProtect(bool protect = true, const wchar_t* password = 0, EnhancedProtection prot = PROT_DEFAULT)
DAW's LibXL.h.pkg has this (which seems to be missing the last 2 parameters

Code:
External_Function xlSheetSetProtect "xlSheetSetProtectA" LibXL.dll Address aSheetHandle Boolean bProtect;
    Returns Void_Type
so, I have tried to add a new external function to do this (but it does not work)
Code:
External_Function xlSheetSetProtectWithPW "xlSheetSetProtectA" LibXL.dll Address aSheetHandle Boolean bProtect String sPassword Integer iEnhancedProtection;
Returns Void_Type
Any ideas?