次の方法で共有


RMGetLicense.GetAsyncCallStatus

banner art

Previous Next

RMGetLicense.GetAsyncCallStatus

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

Syntax

  GetLicense
  .GetAsyncCallStatus(
  pvarStatus, pvarResult
  )

Parameters

pvarStatus

[in, out] Variant returns the execution status of the last call to the GetLicenseFromURLAsync method.

pvarResult

[in, out] Variant returns the result returned by GetLicenseFromURL.

Return Values

The following table describes the return values for pvarStatus.

Return code 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.

Remarks

This method is supported in Visual Basic Scripting Edition (VBScript). However, it is not supported in JScript, which does not allow output parameters.

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.