| Platform SDK: Active Directory, ADSI, and Directory Services | 
The ADS_DN_WITH_BINARY structure associates a distinguished name with the GUID of an object.
typedef struct
{
  DWORD  dwLength;
  LPBYTE lpBinaryValue;
  LPWSTR pszDNString;
} ADS_DN_WITH_BINARY;
The distinguished name of an object changes when, for example, you move it to a different location. You can associate a distinguished name of an object to its non varying GUID value to ensure that its identity is location independent. You can such mapping in the ADS_DN_WITH_BINARY structure.
  Windows NT/2000: Requires Windows 2000 (or Windows NT 4.0 with DSClient).
  Windows 95/98: Requires Windows 95 or later (with DSClient).
  Header: Declared in Iads.h.