localspl: Add a comment, why we do not implement AddPort for XcvDataPort.

This commit is contained in:
Detlef Riekenberg 2007-03-15 23:03:33 +01:00 committed by Alexandre Julliard
parent debcf7fa32
commit 6630439f86
1 changed files with 3 additions and 0 deletions

View File

@ -459,6 +459,9 @@ DWORD WINAPI localmon_XcvDataPort(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInput
TRACE("(%p, %s, %p, %d, %p, %d, %p)\n", hXcv, debugstr_w(pszDataName),
pInputData, cbInputData, pOutputData, cbOutputData, pcbOutputNeeded);
/* Native localspl.dll crashes on w2k and xp, when XcvDataPort is called
with "AddPort" as command. We do not need to implement this */
if (!lstrcmpW(pszDataName, cmd_ConfigureLPTPortCommandOKW)) {
TRACE("InputData (%d): %s\n", cbInputData, debugstr_w( (LPWSTR) pInputData));
res = RegCreateKeyW(HKEY_LOCAL_MACHINE, WinNT_CV_WindowsW, &hroot);