STDMETHODIMP CPipeEntity::GetDisplayName(/*[in]*/DISPID dispID, /*[out]*/BSTR *pBstr)
{
if (pBstr == NULL) return (E_POINTER);
switch (dispID)
{
0x501 is layer
0x502 is linetype
What is the value of handle? Is there a helpful file to explain the values of all dispIDs