Microsoft DirectX 8.1 (C++) |
The DVDAdm.ChangePassword method saves a new application password in the registry.
Syntax
DVD.DVDAdm.ChangePassword(sUserName, sOld, sNew);
Parameters
SUserName
Specifies the current user's logon name as a String. The MSDVDAdm object ignores this parameter. See Remarks.
sOld
Specifies the user's old password as a String.
sNew
Specifies the user's new password as a String. Cannot be an empty string.
Return Values
No return value.
Remarks
Currently, the sUserName parameter is ignored on this and all related methods. This means that whoever knows the password can set the parental level. There is only one password and one parental level for the application. There is no support for individual user logon names or multiple password management. To enforce parental management levels, parents should set the password and then set the parental level appropriate for younger members of the family. When parents want to view a disc with adult-rated content, they can change the level, and then change it back when they are done viewing. As long as the children do not know the password, they can only watch content at or below the level set for them.
See Also