NTSTATUS
TdiBuildNetbiosAddressEa(
  IN  PUCHAR Buffer,
  IN  BOOLEAN IsGroupName,
  IN  PUCHAR NetbiosName
  );

Routine Description:

   Builds an EA describing a Netbios address in the buffer supplied by the
   user.

Arguments:

    Buffer - pointer to a buffer that the ea is to be built in. This buffer
        must be at least 40 bytes long.

    IsGroupName - true if the netbios name is a group name, false otherwise.

    NetbiosName - the netbios name to be inserted in the EA to be built.

Return Value:

    An informative error code if something goes wrong. STATUS_SUCCESS if the
    ea is built properly.