C# Class Microsoft.Protocols.TestSuites.Common.NativeMethods

Class NativeMethods exposes the methods of OXCRPC
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
RpcExceptionCode ( SEHException e ) : uint

Get the RPC Exception Code

Private Methods

Method Description
BindToServer ( string serverName, uint encryptionMethod, uint authnSvc, string seqType, [ rpchUseSsl, string rpchAuthScheme, string spnStr, string options, [ setUuid ) : uint
CreateIdentity ( string domain, string userName, string password ) : void
CreateRpcAsyncHandle ( ) : IntPtr
EcDoAsyncConnectEx ( IntPtr pcxh, IntPtr &pacxh ) : uint
EcDoAsyncWaitEx ( IntPtr ecDoAsyncWaitEx_AsyncHandle, IntPtr acxh, int r, IntPtr o ) : void
EcDoAsyncWaitExWrap ( IntPtr pacxh, uint inputFlags, uint waitSecondThreshold, [ makeEvent, uint &pulFlagsOut ) : uint
EcDoConnectEx ( IntPtr bindingHandle, IntPtr &pcxh, string userDN, uint flags, uint connectionModulus, uint limit, uint codePageId, uint localIdString, uint localIdSort, uint sessionContextLink, ushort isCanConvertCodePages, uint &pcmsPollsMax, uint &retryTimes, uint &pcmsRetryDelay, ushort &picxr, UIntPtr &valueOfDNPrefix, UIntPtr &displayName, ushort rgwClientVersion, ushort rgwServerVersion, ushort rgwBestVersion, uint &pulTimeStamp, byte rgbAuxIn, uint inputAuxSize, byte rgbAuxOut, uint &pcbAuxOut ) : uint
EcDoDisconnect ( IntPtr &pcxh ) : uint
EcDoRpcExt2 ( IntPtr &pcxh, uint &pulFlags, IntPtr rgbIn, uint inputRopSize, IntPtr rgbOut, uint &pcbOut, IntPtr rgbAuxIn, uint inputAuxSize, IntPtr rgbAuxOut, uint &pcbAuxOut, uint &pulTransTime ) : uint
EcDummyRpc ( IntPtr bindingHandle ) : uint
EcRRegisterPushNotification ( IntPtr &pcxh, ulong valueOfiRpc, IntPtr rgbContext, ushort clientContextSize, ulong grbitAdviseBits, IntPtr rgbCallbackAddress, ushort callbackAddressSize, ulong &notificationHandle ) : uint
EcRRegisterPushNotificationWrap ( IntPtr &pcxh, short family, string valueOfIPAddr, ushort port, byte rgbContext, ushort clientContextSize, uint &notificationHandle ) : uint
GetBindHandle ( ) : IntPtr
RpcAsyncCompleteCall ( IntPtr pAsync, IntPtr pReply ) : int
RpcAsyncGetCallStatus ( IntPtr pAsync ) : int
RpcBindingFree ( IntPtr &binding ) : uint
RpcBindingSetOption ( IntPtr binding, uint option, uint optionValue ) : uint

Method Details

RpcExceptionCode() public static method

Get the RPC Exception Code
public static RpcExceptionCode ( SEHException e ) : uint
e System.Runtime.InteropServices.SEHException /// Exception object
return uint