$profileName = encode("UTF-16LE", $profileName); $profileName = pack ('p', $profileName); $API{ api}->Call($handle, $interface, $profileName, 0, $profileXml, 0, 0)); #### DWORD WINAPI WlanGetProfile( __in HANDLE hClientHandle, __in const GUID *pInterfaceGuid, __in LPCWSTR strProfileName, __reserved PVOID pReserved, __out LPWSTR *pstrProfileXml, __inout_opt DWORD *pdwFlags, __out_opt PDWORD pdwGrantedAccess ); #### Argument "t\0e\0s\0t\0\0\0\0\0\0\0\0\0\0\0\0\0..." isn't numeric in subroutine entry at ...