The SendNotifyErrorToCTM method, in Configuration Manager, notifies Content Transfer Manager of errors.

HRESULT stdcall SendNotifyErrorToCTM(
	LPCWSTR szEndpoint, 
	LPCWSTR szID, 
	LPCWSTR szClientData, 
	HRESULT hrErrorCode, 
	LPCWSTR szErrorMessage
);

Parameters

szEndpoint

Data type: LPCWSTRQualifiers: [in]The notification endpoint. This was passed into the call to ICcmAlternateDownloadProvider::DownloadContent (szNotifyEndpoint).
szID

Data type: LPCWSTRQualifiers: [in]The job to which the notification corresponds. This is the GUID originally returned by ICcmAlternateDownloadProvider::DownloadContent.
szClientData

Data type: LPCWSTRQualifiers: [in]The client-specific data which was passed into the call to ICcmAlternateDownloadProvider::DownloadContent (szNotifyData.)
hrErrorCode

Data type: HRESULTQualifiers: [in]The failure code to report.
szErrorMessage

Data type: LPCWSTRQualifiers: [in]An extended status message. Must not be NULL.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK

Success implies that discovery was triggered successfully. All other return values indicate failure.

Requirements

Runtime Requirements

Development Requirements

See Also