Compartilhar via


AVC_VCR_CMD_LOAD_MEDIUM (Windows CE 5.0)

Send Feedback

This command requests that the VCR subunit eject any currently loaded media or open or close its tray , if present.

Parameters

  • Command
    This must be set to AVC_VCR_CMD_LOAD_MEDIUM.
  • CommandType
    This must be set to AVC_VCR_CommandType_Control.
  • u.LoadMedium.Subfunction
    This must be set to one of the following flags:
    • LOAD_MEDIUM_Subfunction_Eject
    • LOAD_MEDIUM_Subfunction_Open_Tray
    • LOAD_MEDIUM_Subfunction_Close_Tray

Return Values

  • ResponseCode
    The VCR subunit will return a specific value in this field, depending on the requested action and the capabilities of the subunits. A successful control attempt will result in a value of AVC_RESPONSE_ACCEPTED. Other values are possible and are discussed in the description of IOCTL_VCR_AVCCMD.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Avc_vcr.h.

See Also

IOCTL_VCR_AVCCMD

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.