SendNotifyErrorToCTM Method
Updated: November 1, 2013
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.
HRESULT stdcall SendNotifyErrorToCTM(
LPCWSTR szEndpoint,
LPCWSTR szID,
LPCWSTR szClientData,
HRESULT hrErrorCode,
LPCWSTR szErrorMessage
);
- szEndpoint
Data type: LPCWSTR
Qualifiers: [in]
The notification endpoint. This was passed into the call to ICcmAlternateDownloadProvider::DownloadContent (szNotifyEndpoint).
- szID
Data type: LPCWSTR
Qualifiers: [in]
The job to which the notification corresponds. This is the GUID originally returned by ICcmAlternateDownloadProvider::DownloadContent.
- szClientData
Data type: LPCWSTR
Qualifiers: [in]
The client-specific data which was passed into the call to ICcmAlternateDownloadProvider::DownloadContent (szNotifyData.)
- hrErrorCode
Data type: HRESULT
Qualifiers: [in]
The failure code to report.
- szErrorMessage
Data type: LPCWSTR
Qualifiers: [in]
An extended status message. Must not be NULL.
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
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.