SendNotifyErrorToCTM Method
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
The SendNotifyErrorToCTM method, in Configuration Manager, notifies Content Transfer Manager of errors.
Syntax
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
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.