3.1.6.11.2.1 Pathname
The Pathname ADM attribute MUST be computed from the values in the iValues argument of the distinguishedName and mSMQQueueNameExt attributes according to the following algorithm:
Let CompName, QName, ExtName, and OutputName be Unicode strings, initialized to be empty.
CompName and QName MUST be the "<computer name>" and "<queue name>", respectively, extracted from the value of the distinguishedName attribute in the iValues argument and transformed to Unicode strings. The "<computer name>" and "<queue name>" as elements of the distinguished name for an mSMQQueue object are specified in section 2.2.1. If the value in the iValues argument of the distinguishedName attribute is empty, rStatus MUST be set to DirectoryOperationResult.GenericError, and processing MUST end.
If the value of QName is 64 Unicode characters long, ExtName MUST be set to the value of the mSMQQueueNameExt attribute transformed to a Unicode string; then QName MUST be truncated by removing the last nine Unicode characters. If the value in the iValues argument of the mSMQQueueNameExt attribute is empty, ExtName MUST remain empty.
The value of CompName MUST be copied to OutputName.
A Unicode backslash character ('\') MUST be appended to OutputName.
All Unicode backslash characters in the value of QName MUST be removed.
The value of QName MUST be appended to the value of OutputName.
If ExtName is not an empty string, the value of ExtName MUST be appended to the value of OutputName.
All alphabetic characters in the value of OutputName MUST be converted to lowercase.
The value of rDirectoryObject.Pathname MUST be the value of OutputName.