Edit

Share via


IProvidePropertyBuilder::MapPropertyToBuilder method

Checks whether a builder should be associated with a particular property.

Syntax

void MapPropertyToBuilder(
  [in]          LONG   dispid,
  [out]         DWORD  *pdwCtlBldType,
  [out]         LPBSTR pbstrGuidBldr,
  [out, retval] LPBOOL builderAvailable
);

Parameters

dispid [in]

The DISPID of the property in question.

pdwCtlBldType [out]

The builder to be mapped. This parameter can be a combination of the following values.

Value Meaning
CTLBLDTYPE_FSTDPROPBUILDER
1
Invoke a standard system builder (not supported in Visual Studio).
CTLBLDTYPE_FINTERNALBUILDER
2
Invoke a custom builder.
CTLBLDTYPE_EDITSOBJDIRECTLY
4
Builder modifies the object. This is common behavior.

 

pbstrGuidBldr [out]

The GUID that identifies the builder for this property.

builderAvailable [out, retval]

This parameter is TRUE if this property currently supports a builder.

Return value

Returns an HRESULT value.

Requirements

Requirement Value
DLL
Vsp.dll

See also

IProvidePropertyBuilder