PARAMFLAG PARAMFLAG PARAMFLAG PARAMFLAG Enum

定义

说明如何在进程间传输结构元素、参数或函数返回值。Describes how to transfer a structure element, parameter, or function return value between processes.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class PARAMFLAG
[System.Flags]
[System.Serializable]
public enum PARAMFLAG
type PARAMFLAG = 
Public Enum PARAMFLAG
继承
属性

字段

PARAMFLAG_FHASCUSTDATA PARAMFLAG_FHASCUSTDATA PARAMFLAG_FHASCUSTDATA PARAMFLAG_FHASCUSTDATA 64

该参数具有自定义数据。The parameter has custom data.

PARAMFLAG_FHASDEFAULT PARAMFLAG_FHASDEFAULT PARAMFLAG_FHASDEFAULT PARAMFLAG_FHASDEFAULT 32

参数定义了默认行为。The parameter has default behaviors defined.

PARAMFLAG_FIN PARAMFLAG_FIN PARAMFLAG_FIN PARAMFLAG_FIN 1

参数将信息从调用方传递给被调用方。The parameter passes information from the caller to the callee.

PARAMFLAG_FLCID PARAMFLAG_FLCID PARAMFLAG_FLCID PARAMFLAG_FLCID 4

参数是客户端应用程序的本地标识符。The parameter is the local identifier of a client application.

PARAMFLAG_FOPT PARAMFLAG_FOPT PARAMFLAG_FOPT PARAMFLAG_FOPT 16

参数是可选的。The parameter is optional.

PARAMFLAG_FOUT PARAMFLAG_FOUT PARAMFLAG_FOUT PARAMFLAG_FOUT 2

参数将信息从调用方返回到被调用方。The parameter returns information from the callee to the caller.

PARAMFLAG_FRETVAL PARAMFLAG_FRETVAL PARAMFLAG_FRETVAL PARAMFLAG_FRETVAL 8

参数是该成员的返回值。The parameter is the return value of the member.

PARAMFLAG_NONE PARAMFLAG_NONE PARAMFLAG_NONE PARAMFLAG_NONE 0

不会指定该参数传递还是接收信息。Does not specify whether the parameter passes or receives information.

注解

在本机代码中的 COM 方法将返回的 HRESULT 时,公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

适用于