NTSTATUS
DiskRegistryAssignCdRomLetter(
  IN  PWSTR CdromName,
  IN  WCHAR DriveLetter
  );

Routine Description:

    This routine sets up the values in the registry that will be used
    to cause "sticky" letters on Cdroms.  The CdromName is the fully
    qualified NT name (\\Device\\Cdrom0).  Only the CdromX portion is
    used for the registry value name.

Arguments:

    CdromName - the NT device name for the Cdrom.
    DriveLetter - the desired drive letter

Return Value:

    NT status indicating success or failure