#include "precomp.h"
#include "callback.h"
#include "ntcb.h"
Go to the source code of this file.
Defines | |
#define | CALLBACKPROC 1 |
#define | SERVERSIDE 1 |
#define | SENDSIDE 1 |
#define | CBBUFSIZE 512 |
#define | PADSIZE (sizeof(ULONG_PTR) - 1) |
#define | SMESSAGECALL(api) |
#define | SETUP(api) |
#define | SETUPDC(api) |
#define | SETUPPWND(api) |
#define | CALC_SIZE_IN(cb, pstr) |
#define | CALC_SIZE_OUT(cb, pstr) |
#define | BEGINSEND(api) |
#define | BEGINSENDCAPTURE(api, cCapturePointers, cCaptureBytes, fInput) |
#define | BEGINSENDCAPTUREVOIDDC(api, cCapturePointers, cCaptureBytes, fInput) |
#define | BEGINSENDCAPTUREDC(api, cCapturePointers, cCaptureBytes, fInput) |
#define | LOCKPWND() |
#define | UNLOCKPWND() |
#define | MAKECALL(api) |
#define | MAKECALLCAPTURE(api) |
#define | MAKECALLCAPTUREDC(api) |
#define | CHECKRETURN() |
#define | ENDSEND(type, error) |
#define | CLEANUPSENDCAPTURECOMMONDC() |
#define | BEGIN_ENDSENDCAPTURE(type, error) exit: |
#define | _ENDSENDCAPTURE(type, error) |
#define | END_ENDSENDCAPTURE(type, error) return (type)error |
#define | ENDSENDCAPTUREDC(type, error) |
#define | ENDSENDCAPTURE(type, error) |
#define | BEGIN_ENDSENDCAPTUREVOID() errorexit: |
#define | _ENDSENDCAPTUREVOID() |
#define | END_ENDSENDCAPTUREVOID() return |
#define | ENDSENDCAPTUREVOIDDC() |
#define | ENDSENDCAPTUREVOID() |
#define | ENDSENDVOID() |
#define | MSGERROR() goto errorexit |
#define | MSGDATA() (mp) |
#define | COPYSTRUCTOPT(x) |
#define | COPYCONSTRECTSTRUCTOPT(x) |
#define | COPYBYTES(p, cb) |
#define | COPYBYTESOPT(p, cb) |
#define | LARGECOPYBYTES(p, cb) |
#define | LARGECOPYBYTES2(src, cb, dest) |
#define | COPYSTRING(s) |
#define | COPYSTRINGOPT(s) |
#define | COPYSTRINGID(s) |
#define | LARGECOPYSTRINGLPWSTR(ps, psz) |
#define | LARGECOPYSTRINGLPSTR(ps, psz) |
#define | LARGECOPYSTRINGLPWSTRA(ps, psz) |
#define | LARGECOPYSTRINGLPSTRW(ps, psz) |
#define | LARGECOPYSTRINGLPWSTROPT(ps, psz) |
#define | LARGECOPYSTRINGLPSTROPT(ps, psz) |
#define | LARGECOPYSTRINGLPWSTROPTA(ps, psz) |
#define | BEGINCOPYOUT() |
#define | ENDCOPYOUT() } |
#define | OUTSTRUCT(pstruct, type) |
#define | OUTBITMASK(pstruct, type, mask) |
#define | COPYOUTLPWSTRLIMIT(pstr, cch) |
#define | RESERVEBYTES(cb, dest, cbdest) |
Functions | |
PVOID | AllocCallbackMessage (DWORD cbBaseMsg, DWORD cPointers, SIZE_T cbCapture, PBYTE pStackBuffer, BOOL fInput) |
NTSTATUS | CaptureCallbackData (PCAPTUREBUF pcb, PVOID pData, DWORD cbData, PVOID *ppDest) |
NTSTATUS | AllocateCallbackData (PCAPTUREBUF pcb, DWORD cbData, PVOID *ppDest) |
NTSTATUS | CaptureAnsiCallbackData (PCAPTUREBUF pcb, PVOID pData, DWORD cbData, PVOID *ppDest) |
NTSTATUS | CaptureUnicodeCallbackData (PCAPTUREBUF pcb, PVOID pData, DWORD cbData, PVOID *ppDest) |
VOID | CopyOutputString (PCALLBACKSTATUS pcbs, PLARGE_STRING pstr, UINT cchLimit, BOOL fAnsi) |
|
Value:
|
|
Value:
|
|
|
|
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
|
|
Definition at line 21 of file ssend.c. Referenced by AllocCallbackMessage(). |
|
Value:
|
|
Value:
|
|
Value: |
|
Value:
|
|
Value: |
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value: |
|
|
|
|
|
|
|
Value: |
|
Value:
|
|
Value:
|
|
Value:
|
|
Value: |
|
Value:
|
|
Value: |
|
Value: |
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
|
|
|
|
Value:
|
|
Value:
|
|
Definition at line 23 of file ssend.c. Referenced by AllocateCallbackData(), AllocCallbackMessage(), CaptureAnsiCallbackData(), CaptureCallbackData(), and CaptureUnicodeCallbackData(). |
|
Value:
|
|
|
|
|
|
Value: |
|
Value: |
|
Value:
|
|
Value:
|
|
Value:
|
|
Definition at line 695 of file ssend.c. References _CAPTUREBUF::cbCapture, _CAPTUREBUF::cCapturedPointers, DWORD, NTSTATUS(), _CAPTUREBUF::offPointers, PADSIZE, _CAPTUREBUF::pbFree, PBYTE, and _CAPTUREBUF::pvVirtualAddress.
|
|
Definition at line 545 of file ssend.c. References CALLBACKSTACKLIMIT, CBBUFSIZE, _CAPTUREBUF::cbCallback, _CAPTUREBUF::cbCapture, _CAPTUREBUF::cCapturedPointers, NT_SUCCESS, NTSTATUS(), NULL, _CAPTUREBUF::offPointers, PADSIZE, _CAPTUREBUF::pbFree, PBYTE, PCAPTUREBUF, _CAPTUREBUF::pvVirtualAddress, and Status.
|
|
Definition at line 736 of file ssend.c. References _CAPTUREBUF::cbCapture, _CAPTUREBUF::cCapturedPointers, DBCS_CHARSIZE, DWORD, FALSE, IS_DBCS_ENABLED, NT_SUCCESS, NTSTATUS(), NULL, _CAPTUREBUF::offPointers, PADSIZE, _CAPTUREBUF::pbFree, PBYTE, _CAPTUREBUF::pvVirtualAddress, and RtlUnicodeToMultiByteN().
|
|
Definition at line 639 of file ssend.c. References _CAPTUREBUF::cbCapture, _CAPTUREBUF::cCapturedPointers, DWORD, FALSE, NTSTATUS(), NULL, _CAPTUREBUF::offPointers, PADSIZE, _CAPTUREBUF::pbFree, PBYTE, and _CAPTUREBUF::pvVirtualAddress.
|
|
Definition at line 839 of file ssend.c. References _CAPTUREBUF::cbCapture, _CAPTUREBUF::cCapturedPointers, DWORD, FALSE, NT_SUCCESS, NTSTATUS(), NULL, _CAPTUREBUF::offPointers, PADSIZE, _CAPTUREBUF::pbFree, PBYTE, _CAPTUREBUF::pvVirtualAddress, and RtlMultiByteToUnicodeN().
|
|
Definition at line 922 of file ssend.c. References _LARGE_STRING::bAnsi, _LARGE_STRING::Buffer, BYTE, FALSE, _LARGE_STRING::Length, PCALLBACKSTATUS, pcbs, ProbeForRead, strncpycch(), UINT, VOID(), and wcsncpycch().
|