Sets device configuration information on the computer.
ITCSSApi.dll, ITCSSApi.h, ITCSSApi.lib, smartsyserrors.h
ITCSSAPI_RETURN_TYPE ITCSSSet( const TCHAR* pszSetData, TCHAR* pszReturnedData, size_t *pReturnedDataSize, unsigned long timeOut);
pszSetData
[in] Pointer to a null-terminated TCHAR string which describes the data to set.
pszReturnedData
[out] Pointer to a TCHAR string buffer used to store the returned data.
pReturnedDataSize
[in/out] Pointer to the number of characters that can be stored in the pszReturnedData buffer. If the data to be returned is larger than the pszReturnedData buffer, then pReturnedDataSize will be modified to contain the required size.
iTimeOut
[in, optional] Amount of time (in seconds) allowed for connecting to the DeviceManagement API. Range is 0 to 599. Pass in 0 to use the default value of 60 seconds.
All return values are defined in the ITCSSErrors class.
E_SS_SUCCESS
Success.
E_SSAPI_FUNCTION_UNAVAILABLE
Function is unavailable via the SmartSystems API.
E_SSAPI_OPERATION_FAILED
The operation failed.
E_SSAPI_MISSING_REQUIRED_PARM
Required parameter is missing.
E_SSAPI_MALFORMED_XML
XML is incorrectly formatted.
E_SSAPI_TIMEOUT
Operation timed out.
E_SSAPI_RCV_BUFFER_TOO_SMALL
The passed-in buffer is not big enough to store the returned data. Check pReturnedDataSize for the required size.