Share via


IRMGetLicense::GetAsyncCallStatus

banner art

Previous Next

IRMGetLicense::GetAsyncCallStatus

The GetAsyncCallStatus method retrieves the status of the last call to the GetLicenseFromURLAsync method.

Syntax

  HRESULT GetAsyncCallStatus(
  VARIANT*  pvarStatus,
  VARIANT*  pvarHResult
);

Parameters

pvarStatus

[in, out] Returns the execution status of the last call to the GetLicenseFromURLAsync method, which will be one of the following values.

Value Description
0 GetLicenseFromURLAsync has not been called.
1 A call to GetLicenseFromURLAsync is in progress.
2 The last call to GetLicenseFromURLAsync is complete.

pvarResult contains the result returned by GetLicenseFromURL.

pvarHResult

[in, out] Returns the result returned by GetLicenseFromURL.

Return Values

This method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Requirements

Version: Windows Media Rights Manager 7 SDK or later

Reference: msnetobj 1.0 Type Library

Library: msnetobj.dll

Platform: Windows Server 2003

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.