C# Класс Microsoft.Protocols.TestSuites.MS_OXCRPC.AdapterHelper

The class provides methods to assist MS-OXCRPCAdapter.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
RPCHeaderExtlength int

Открытые методы

Метод Описание
ComposeRgbAuxIn ( RgbAuxInEnum rgbAuxIn, byte rgbAuxInPayload ) : byte[]

Composes rgbAuxIn buffer

ComposeRgbIn ( ROPCommandType ropType, uint inputServerObjectHandle, TaggedPropertyValue propertyValue ) : byte[]

A method used to compose ROP command to execute ROP call.

ComposeRgbIn ( ROPCommandType ropType, uint inputServerObjectHandle, ulong auxInfo ) : byte[]

A method used to compose ROP command to execute ROP call.

Compose_AUX_CLIENT_CONNECTION_INFO ( int reserved, int connectionFlags ) : byte[]

Compose buffer for AUX_CLIENT_CONNECTION_INFO

Compose_AUX_PERF_ACCOUNTINFO ( int reserved ) : byte[]

Compose buffer for AUX_PERF_ACCOUNTINFO, refer to the definition of AUX_PERF_ACCOUNTINFO

Compose_AUX_PERF_CLIENTINFO ( int reserved, short clientMode ) : byte[]

Composes buffer for AUX_PERF_CLIENTINFO, refer to the definition of AUX_PERF_CLIENTINFO in this Open Specification

Compose_AUX_PERF_DEFGC_SUCCESS ( int reserved ) : byte[]

Composes buffer for AUX_PERF_DEFGC_SUCCESS, refer to the definition of AUX_PERF_DEFGC_SUCCESS in this Open Specification

Compose_AUX_PERF_DEFMDB_SUCCESS ( int reserved ) : byte[]

Composes buffer for AUX_PERF_DEFMDB_SUCCESS, refer to the definition of AUX_PERF_DEFMDB_SUCCESS in this Open Specification

Compose_AUX_PERF_FAILURE ( int reserved ) : byte[]

Composes buffer for AUX_PERF_FAILURE, refer to the definition of AUX_PERF_FAILURE in this Open Specification

Compose_AUX_PERF_FAILURE_V2 ( int reserved1, int reserved2 ) : byte[]

Composes buffer for AUX_PERF_FAILURE_V2, refer to definition of AUX_PERF_FAILURE_V2 in this Open Specification

Compose_AUX_PERF_GC_SUCCESS ( int reserved1, int reserved2 ) : byte[]

Composes buffer for AUX_PERF_GC_SUCCESS, refer to the definition of AUX_PERF_GC_SUCCESS in this Open Specification

Compose_AUX_PERF_GC_SUCCESS_V2 ( int reserved ) : byte[]

Composes buffer for AUX_PERF_GC_SUCCESS_V2, refer to the definition of AUX_PERF_GC_SUCCESS_V2 in this Open Specification

Compose_AUX_PERF_MDB_SUCCESS_V2 ( int reserved ) : byte[]

Composes buffer for AUX_PERF_MDB_SUCCESS_V2, refer to the definition of AUX_PERF_MDB_SUCCESS_V2 in this Open Specification

Compose_AUX_PERF_PROCESSINFO ( int reserved1, int reserved2 ) : byte[]

Composes buffer for AUX_PERF_PROCESSINFO, refer to the definition of AUX_PERF_PROCESSINFO in this Open Specification

Compose_AUX_PERF_SESSIONINFO ( int reserved ) : byte[]

Composes buffer for AUX_PERF_SESSIONINFO, refer to the definition of AUX_PERF_SESSIONINFO in this Open Specification

Compose_AUX_PERF_SESSIONINFO_V2 ( int reserved ) : byte[]

Composes buffer for AUX_PERF_SESSIONINFO_V2, refer to the definition of AUX_PERF_SESSIONINFO_V2 in this Open Specification

ConvertVersion ( ushort version, ushort &normalizeVersion ) : void

Convert the three DWORD version into a normalized version.

Initialize ( ITestSite testSite ) : void

Initialize the AdapterHelper class.

Описание методов

ComposeRgbAuxIn() публичный статический Метод

Composes rgbAuxIn buffer
public static ComposeRgbAuxIn ( RgbAuxInEnum rgbAuxIn, byte rgbAuxInPayload ) : byte[]
rgbAuxIn RgbAuxInEnum Enum value of rgbAuxIn
rgbAuxInPayload byte The payload of rgbAuxIn buffer.
Результат byte[]

ComposeRgbIn() публичный статический Метод

A method used to compose ROP command to execute ROP call.
public static ComposeRgbIn ( ROPCommandType ropType, uint inputServerObjectHandle, TaggedPropertyValue propertyValue ) : byte[]
ropType ROPCommandType A parameter represents the ROP Type refers to a specific ROP call.
inputServerObjectHandle uint A parameter represents an input Server object handle.
propertyValue Microsoft.Protocols.TestSuites.Common.TaggedPropertyValue A parameter represents a TaggedPropertyValue structure.
Результат byte[]

ComposeRgbIn() публичный статический Метод

A method used to compose ROP command to execute ROP call.
public static ComposeRgbIn ( ROPCommandType ropType, uint inputServerObjectHandle, ulong auxInfo ) : byte[]
ropType ROPCommandType A parameter represents the ROP Type refers to a specific ROP call.
inputServerObjectHandle uint A parameter represents an input Server object handle.
auxInfo ulong The auxInfo point to the object executed by this ROP call. /// It could be a folder handle, a message handle or an attachment handle or the count to be operated.
Результат byte[]

Compose_AUX_CLIENT_CONNECTION_INFO() публичный статический Метод

Compose buffer for AUX_CLIENT_CONNECTION_INFO
public static Compose_AUX_CLIENT_CONNECTION_INFO ( int reserved, int connectionFlags ) : byte[]
reserved int Value for Reserved field in AUX_CLIENT_CONNECTION_INFO
connectionFlags int The value of ConnectionFlags
Результат byte[]

Compose_AUX_PERF_ACCOUNTINFO() публичный статический Метод

Compose buffer for AUX_PERF_ACCOUNTINFO, refer to the definition of AUX_PERF_ACCOUNTINFO
public static Compose_AUX_PERF_ACCOUNTINFO ( int reserved ) : byte[]
reserved int Value for Reserved field in AUX_PERF_ACCOUNTINFO
Результат byte[]

Compose_AUX_PERF_CLIENTINFO() публичный статический Метод

Composes buffer for AUX_PERF_CLIENTINFO, refer to the definition of AUX_PERF_CLIENTINFO in this Open Specification
public static Compose_AUX_PERF_CLIENTINFO ( int reserved, short clientMode ) : byte[]
reserved int Value for Reserved field in AUX_PERF_CLIENTINFO
clientMode short The value of ClientMode that determines the mode in which the client is running
Результат byte[]

Compose_AUX_PERF_DEFGC_SUCCESS() публичный статический Метод

Composes buffer for AUX_PERF_DEFGC_SUCCESS, refer to the definition of AUX_PERF_DEFGC_SUCCESS in this Open Specification
public static Compose_AUX_PERF_DEFGC_SUCCESS ( int reserved ) : byte[]
reserved int Value for Reserved field in AUX_PERF_DEFGC_SUCCESS
Результат byte[]

Compose_AUX_PERF_DEFMDB_SUCCESS() публичный статический Метод

Composes buffer for AUX_PERF_DEFMDB_SUCCESS, refer to the definition of AUX_PERF_DEFMDB_SUCCESS in this Open Specification
public static Compose_AUX_PERF_DEFMDB_SUCCESS ( int reserved ) : byte[]
reserved int Value for Reserved field in AUX_PERF_DEFMDB_SUCCESS
Результат byte[]

Compose_AUX_PERF_FAILURE() публичный статический Метод

Composes buffer for AUX_PERF_FAILURE, refer to the definition of AUX_PERF_FAILURE in this Open Specification
public static Compose_AUX_PERF_FAILURE ( int reserved ) : byte[]
reserved int Value for Reserved field in AUX_PERF_FAILURE
Результат byte[]

Compose_AUX_PERF_FAILURE_V2() публичный статический Метод

Composes buffer for AUX_PERF_FAILURE_V2, refer to definition of AUX_PERF_FAILURE_V2 in this Open Specification
public static Compose_AUX_PERF_FAILURE_V2 ( int reserved1, int reserved2 ) : byte[]
reserved1 int Value for Reserved_1 field in AUX_PERF_FAILURE_V2
reserved2 int Value for Reserved_2 field in AUX_PERF_FAILURE_V2
Результат byte[]

Compose_AUX_PERF_GC_SUCCESS() публичный статический Метод

Composes buffer for AUX_PERF_GC_SUCCESS, refer to the definition of AUX_PERF_GC_SUCCESS in this Open Specification
public static Compose_AUX_PERF_GC_SUCCESS ( int reserved1, int reserved2 ) : byte[]
reserved1 int Value for Reserved_1 field in AUX_PERF_GC_SUCCESS
reserved2 int Value for Reserved_2 field in AUX_PERF_GC_SUCCESS
Результат byte[]

Compose_AUX_PERF_GC_SUCCESS_V2() публичный статический Метод

Composes buffer for AUX_PERF_GC_SUCCESS_V2, refer to the definition of AUX_PERF_GC_SUCCESS_V2 in this Open Specification
public static Compose_AUX_PERF_GC_SUCCESS_V2 ( int reserved ) : byte[]
reserved int Value for Reserved field in AUX_PERF_GC_SUCCESS_V2
Результат byte[]

Compose_AUX_PERF_MDB_SUCCESS_V2() публичный статический Метод

Composes buffer for AUX_PERF_MDB_SUCCESS_V2, refer to the definition of AUX_PERF_MDB_SUCCESS_V2 in this Open Specification
public static Compose_AUX_PERF_MDB_SUCCESS_V2 ( int reserved ) : byte[]
reserved int Value for Reserved field in AUX_PERF_MDB_SUCCESS_V2
Результат byte[]

Compose_AUX_PERF_PROCESSINFO() публичный статический Метод

Composes buffer for AUX_PERF_PROCESSINFO, refer to the definition of AUX_PERF_PROCESSINFO in this Open Specification
public static Compose_AUX_PERF_PROCESSINFO ( int reserved1, int reserved2 ) : byte[]
reserved1 int Value for Reserved_1 field in AUX_PERF_PROCESSINFO
reserved2 int Value for Reserved_2 field in AUX_PERF_PROCESSINFO
Результат byte[]

Compose_AUX_PERF_SESSIONINFO() публичный статический Метод

Composes buffer for AUX_PERF_SESSIONINFO, refer to the definition of AUX_PERF_SESSIONINFO in this Open Specification
public static Compose_AUX_PERF_SESSIONINFO ( int reserved ) : byte[]
reserved int Value for Reserved field in AUX_PERF_SESSIONINFO
Результат byte[]

Compose_AUX_PERF_SESSIONINFO_V2() публичный статический Метод

Composes buffer for AUX_PERF_SESSIONINFO_V2, refer to the definition of AUX_PERF_SESSIONINFO_V2 in this Open Specification
public static Compose_AUX_PERF_SESSIONINFO_V2 ( int reserved ) : byte[]
reserved int Value for Reserved field in AUX_PERF_SESSIONINFO_V2
Результат byte[]

ConvertVersion() публичный статический Метод

Convert the three DWORD version into a normalized version.
public static ConvertVersion ( ushort version, ushort &normalizeVersion ) : void
version ushort The three DWORD version.
normalizeVersion ushort The returned normalized version.
Результат void

Initialize() публичный статический Метод

Initialize the AdapterHelper class.
public static Initialize ( ITestSite testSite ) : void
testSite ITestSite The instance of ITestSite.
Результат void

Описание свойств

RPCHeaderExtlength публичное статическое свойство

An integer indicates the length of RPC_HEADER_EXT.
public static int RPCHeaderExtlength
Результат int