Compartilhar via


Setting Copy Protection Hardware

Miniport drivers that returned VP_FLAGS_PROTECTED in VIDEOPARAMETERS's dwFlags member on a VP_COMMAND_GET should do the following in response to the VP_COMMAND_SET command, depending on the dwCPCommand member of the VIDEOPARAMETERS structure:

  • If dwCPCommand is VP_CP_CMD_ACTIVATE, the miniport driver should turn on copy protection and generate and return a unique copy protection key in dwCPKey.

  • If dwCPCommand is VP_CP_CMD_DEACTIVATE and the copy protection key in dwCPKey is valid, the miniport driver should turn off copy protection.

  • If dwCPCommand is VP_CP_CMD_CHANGE and the copy protection key in dwCPKey is valid, the miniport driver should change copy protection based on the data in based on the trigger data in bCP_APSTriggerBits.

Miniport drivers of devices that do not have copy protection hardware should simply return NO_ERROR in the Status field of the VRP's StatusBlock.