diff --git a/dlls/setupapi/setupx16.h b/dlls/setupapi/setupx16.h index e9e800ac52f..f348340d016 100644 --- a/dlls/setupapi/setupx16.h +++ b/dlls/setupapi/setupx16.h @@ -382,7 +382,6 @@ RETERR16 WINAPI VcpQueueCopy16( LPEXPANDVTBL lpExpandVtbl, WORD fl, LPARAM lParam ); -RETERR16 VcpFlush16(WORD fl, LPCSTR lpszBackupDest); RETERR16 WINAPI VcpClose16(WORD fl, LPCSTR lpszBackupDest); /* VcpExplain flags */ diff --git a/dlls/setupapi/virtcopy.c b/dlls/setupapi/virtcopy.c index 435f2d91641..2506a6a29bd 100644 --- a/dlls/setupapi/virtcopy.c +++ b/dlls/setupapi/virtcopy.c @@ -161,18 +161,6 @@ INT16 WINAPI vsmStringDelete16(VHSTR vhstr) return VCPN_FAIL; } -/* - * vsmStringFind() - not exported from a standard SETUPX.DLL, it seems - */ -VHSTR WINAPI vsmStringFind16(LPCSTR lpszName) -{ - WORD n; - for (n = 0; n < vhstr_alloc; n++) - if ((vhstrlist[n]) && (vhstrlist[n]->refcount) && (!strcmp(vhstrlist[n]->pStr, lpszName))) - return n; - return 0xffff; -} - /*********************************************************************** * vsmGetStringName (SETUPX.205) * @@ -193,16 +181,6 @@ INT16 WINAPI vsmGetStringName16(VHSTR vhstr, LPSTR lpszBuffer, int cbBuffer) return VCPN_FAIL; } -/*********************************************************************** - * vsmStringCompare (not exported from a standard SETUPX.DLL, it seems) - */ -INT16 WINAPI vsmStringCompare16(VHSTR vhstrA, VHSTR vhstrB) -{ - if ((!VALID_VHSTR(vhstrA)) || (!VALID_VHSTR(vhstrB))) - return VCPN_FAIL; /* correct ? */ - return strcmp(vhstrlist[vhstrA]->pStr, vhstrlist[vhstrB]->pStr); -} - /*********************************************************************** * vsmGetStringRawName (SETUPX.208) */ @@ -484,16 +462,6 @@ static RETERR16 VCP_CopyFiles(void) return res; } -/*********************************************************************** - * VcpFlush - internal (not exported), but documented - * - * VNFL_NOW is used for VcpFlush. - */ -RETERR16 VcpFlush16(WORD fl, LPCSTR lpszBackupDest) -{ - return OK; -} - /*********************************************************************** * VcpClose (SETUPX.201) *