The documentation has a function defined as follows...
exec_xml [In] Pointer to a null terminated Unicode string that contains the XML of the command to execute.“extern C” LPWSTR
SBADM_execute(
LPCWSTR exec_xml,
SBADM_CALLBACK callback
);
callback [In] Optional pointer to a callback function that can be used to receive additional progress and information. This can be NULL if no callback is required. This is primarily intended for use by the command line interface to display more information.
InitPluginsDir
SetOutPath $PLUGINSDIR
File SbAdmDll.dll
StrCpy $1 `${XMLStuff}`
ClearErrors
System::Call `SbAdmDll::SBADM_execute(w r1,i 0)w .r0`
DetailPrint $0 The returned value is "error" which tells me that system::call is choking on something... Any ideas what I may be doing wrong here?