Επεξεργασία

Κοινή χρήση μέσω


WM_INDIVIDUALIZE_STATUS structure (Drmexternals.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The WM_INDIVIDUALIZE_STATUS structure records the status of the individualization process.

Syntax

typedef struct _WMIndividualizeStatus {
  HRESULT                      hr;
  DRM_INDIVIDUALIZATION_STATUS enIndiStatus;
  LPSTR                        pszIndiRespUrl;
  DWORD                        dwHTTPRequest;
  DRM_HTTP_STATUS              enHTTPStatus;
  DWORD                        dwHTTPReadProgress;
  DWORD                        dwHTTPReadTotal;
} WM_INDIVIDUALIZE_STATUS;

Members

hr

HRESULT return code.

enIndiStatus

Value from the DRM_INDIVIDUALIZATION_STATUS enumeration type.

pszIndiRespUrl

Pointer to a null-terminated string containing the individualization response URL.

dwHTTPRequest

DWORD that indicates the number of HTTP round trips to the individualization service that have been completed..

enHTTPStatus

Value from the DRM_HTTP_STATUS enumeration type.

dwHTTPReadProgress

DWORD containing the number of bytes downloaded until now..

dwHTTPReadTotal

DWORD containing the total number of bytes to be downloaded. Use this value and dwHTTPReadProgress to display a user interface indicating how much of the download has completed and how much remains to be done.

Remarks

This structure is filled in by the DRM run-time components and is sent to applications in the pValue parameter of the applications IWMStatusCallback::OnStatus method when the event equals WMT_INDIVIDUALIZE. The application receives this event multiple times during the download process.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Version
Windows Media Format 7 SDK, or later versions of the SDK
Header
Drmexternals.h

See also

DRM_HTTP_STATUS

Structures