共用方式為


PARAMFLAG Constants

Specifies parameter flags.

Constant/value Description
PARAMFLAG_NONE
0
Whether the parameter passes or receives information is unspecified. IDispatch interfaces can use this flag.
PARAMFLAG_FIN
0x1
Parameter passes information from the caller to the callee.
PARAMFLAG_FOUT
0x2
Parameter returns information from the callee to the caller.
PARAMFLAG_FLCID
0x4
Parameter is the LCID of a client application.
PARAMFLAG_FRETVAL
0x8
Parameter is the return value of the member.
PARAMFLAG_FOPT
0x10
Parameter is optional. The pPARAMDescEx field contains a pointer to a VARIANT describing the default value for this parameter, if the PARAMFLAG_FOPT and PARAMFLAG_FHASDEFAULT bit of wParamFlags is set.
PARAMFLAG_FHASDEFAULT
0x20
Parameter has default behaviors defined. The pPARAMDescEx field contains a pointer to a VARIANT that describes the default value for this parameter, if the PARAMFLAG_FOPT and PARAMFLAG_FHASDEFAULT bit of wParamFlags is set.
PARAMFLAG_FHASCUSTDATA
0x40
Parameter has custom data.

Requirements

Header
OaIdl.h