title | titleSuffix | description | ms.date | ms.subservice | ms.service | ms.topic | ms.assetid | author | ms.author | manager | ms.localizationpriority | ms.collection | ms.reviewer |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SendNotifyProgressToCTM Method |
Configuration Manager |
The SendNotifyProgressToCTM method notifies Content Transfer Manager of the progress of a job. |
09/20/2016 |
sdk |
configuration-manager |
reference |
4adf2263-faa3-444b-b331-bb5ca4acfb4d |
Banreet |
banreetkaur |
apoorvseth |
low |
tier3 |
mstewart,aaroncz |
The SendNotifyProgressToCTM method notifies Content Transfer Manager of the progress of a job.
HRESULT stdcall SendNotifyProgressToCTM(
LPCWSTR szProgressType,
LPCWSTR szEndpoint,
LPCWSTR szID,
LPCWSTR szClientData,
LPCWSTR szBytesTotal,
LPCWSTR szBytesTransferred,
ULONG ulFilesTotal,
ULONG ulFilesTransferred
);
szProgressType
Data type: LPCWSTR
Qualifiers: [in]
Either one of the S_DTS_* constants for status changes or NULL/empty string for a bytes progress only.
szEndpoint
Data type: LPCWSTR
Qualifiers: [in]
The notification endpoint. This was passed into the call to ICcmAlternateDownloadProvider::DownloadContent (szNotifyEndpoint).
szID
Data type: UInt32
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 that was passed into the call to ICcmAlternateDownloadProvider::DownloadContent (szNotifyData).
szBytesTotal
Data type: LPCWSTR
Qualifiers: [in]
The total number of bytes in the job.
szBytesTransferred
Data type: LPCWSTR
Qualifiers: [in]
The number of bytes transferred so far.
ulFilesTotal
Data type: ULONG
Qualifiers: [in]
The total number of files in the job.
ulFilesTransferred
Data type: ULONG
Qualifiers: [in]
The number of files transferred so far.
If the totals aren't yet known, pass 0 for the values. Once the provider has determined the total byte and file count, those values should be used.
An HRESULT
code. Possible values include, but aren't limited to, the following one:
S_OK
Success implies that discovery was triggered successfully. All other return values indicate failure.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.