LpcpRequestWaitReplyPort
NTSTATUS __stdcall LpcpRequestWaitReplyPort(
VOID *PortAddress,
PORT_MESSAGE *RequestMessage,
PORT_MESSAGE *ReplyMessage,
INT8 PreviousMode,
INT8 WaitMode,
UINT64 LegacySendMessageFlags){
_ETHREAD *CurrentThread;
UINT64 v8;
NTSTATUS v9;
INT8 v11;
CurrentThread = (_ETHREAD *)KeGetCurrentThread();
--CurrentThread->Tcb.KernelApcDisable;
v8 = 1179650i64;
if( WaitMode != 1 )
v8 = 131074i64;
v9 = AlpcpProcessSynchronousRequest(
(_ALPC_PORT *)PortAddress,
v8,
RequestMessage,
0i64,
ReplyMessage,
0i64,
0i64,
0i64,
0,
v11);
KeLeaveCriticalRegionThread(KeGetCurrentThread());
if( v9 == -1073740029 )
v9 = -1073741769;
if( v9 == -1073740031 )
return -1073741229;
return v9;
}Referenced by:
LpcRequestWaitReplyPort
LpcRequestWaitReplyPortEx