IOleObjectImpl::GetUserType

Returns the control's user-type name by calling OleRegGetUserType.

STDMETHOD(GetUserType)(
   DWORD dwFormOfType,
   LPOLESTR* pszUserType 
);

Remarks

The user-type name is used for display in user-interfaces elements such as menus and dialog boxes. You can change the user-type name in your project's .rgs file.

See IOleObject::GetUserType in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class

OleRegGetUserType

IOleObjectImpl::GetUserClassID

IOleObjectImpl::GetMiscStatus

IOleObjectImpl::EnumVerbs

Other Resources

IOleObjectImpl Members