24 ERR(
"LocalXcvAddPort : Invalid XCV Handle\n");
39 if (!pInputData || !pcbOutputNeeded)
64 if (pdwStatus) *pdwStatus =
res;
83 ERR(
"LocalXcvDeletePort : Invalid XCV Handle\n");
98 if (!pInputData || !pcbOutputNeeded)
126 FIXME(
"LocalXcvDeletePort removed Port Entry\n");
135 if (pdwStatus) *pdwStatus =
res;
147 FIXME(
"LocalXcvData(%p, %S, %p, %lu, %p, %lu, %p)\n",
hXcv, pszDataName, pInputData, cbInputData, pOutputData, cbOutputData, pcbOutputNeeded);
157 if (
wcscmp(pszDataName,
L"AddPort") == 0)
160 if (
wcscmp(pszDataName,
L"DeletePort") == 0)
170 ERR(
"LocalXcvData : Invalid XCV Handle\n");
187 res = ((
PMONITOR2)pPrintMonitor->
pMonitor)->pfnXcvDataPort(pXcv->
hXcv, pszDataName, pInputData, cbInputData, pOutputData, cbOutputData, pcbOutputNeeded);
191 res = ((
LPMONITOREX)pPrintMonitor->
pMonitor)->Monitor.pfnXcvDataPort(pXcv->
hXcv, pszDataName, pInputData, cbInputData, pOutputData, cbOutputData, pcbOutputNeeded);
197 if (pdwStatus) *pdwStatus =
res;
#define ERROR_INVALID_PARAMETER
#define ERROR_INVALID_HANDLE
static const WCHAR Cleanup[]
#define RemoveEntryList(Entry)
static DWORD _HandleDeletePort(PLOCALMON_XCV pXcv, PBYTE pInputData, PDWORD pcbOutputNeeded)
static DWORD _HandleAddPort(PLOCALMON_XCV pXcv, PBYTE pInputData, PDWORD pcbOutputNeeded)
BOOL WINAPI LocalXcvData(HANDLE hXcv, const WCHAR *pszDataName, BYTE *pInputData, DWORD cbInputData, BYTE *pOutputData, DWORD cbOutputData, DWORD *pcbOutputNeeded, DWORD *pdwStatus)
struct _MONITOR2 * PMONITOR2
struct _MONITOREX * LPMONITOREX
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
enum _LOCAL_HANDLE::@5120 HandleType
PLOCAL_PRINT_MONITOR pPrintMonitor
BOOL WINAPI DllFreeSplMem(PVOID pMem)
BOOL CreatePortEntry(PCWSTR pwszName, PLOCAL_PRINT_MONITOR pPrintMonitor)
PLOCAL_PORT FindPort(PCWSTR pwszName)
struct _LOCAL_XCV_HANDLE * PLOCAL_XCV_HANDLE
struct _LOCAL_HANDLE * PLOCAL_HANDLE
DWORD WINAPI GetLastError(void)