Home
last modified time | relevance | path

Searched refs:pSrc (Results 1 – 25 of 33) sorted by relevance

12

/reactos/sdk/include/vcruntime/
H A Dcomutil.h572 V_UNKNOWN(this) = pSrc; in _variant_t()
837 _COM_ASSERT(V_VT(this)!=VT_BSTR || !pSrc || V_BSTR(this)!=pSrc);
843 if(!pSrc) {
859 _COM_ASSERT(V_VT(this)!=(VT_I1 | VT_BYREF) || !pSrc || V_I1REF(this)!=pSrc);
871 _COM_ASSERT(V_VT(this)!=VT_DISPATCH || pSrc==0 || V_DISPATCH(this)!=pSrc);
902 _COM_ASSERT(V_VT(this)!=VT_UNKNOWN || !pSrc || V_UNKNOWN(this)!=pSrc);
1046 if(!pSrc) {
1050 if(this==pSrc) {
1139 return !(*this==pSrc);
1174 if(!pSrc) pSrc = this; in ChangeType()
[all …]
/reactos/sdk/lib/comsupp/
H A Dcomsupp.cpp59 BSTR WINAPI ConvertStringToBSTR(const char *pSrc) in ConvertStringToBSTR() argument
64 if (!pSrc) return NULL; in ConvertStringToBSTR()
67 cwch = ::MultiByteToWideChar(CP_ACP, 0, pSrc, -1, NULL, 0); in ConvertStringToBSTR()
79 if (::MultiByteToWideChar(CP_ACP, 0, pSrc, -1, wsOut, cwch) == 0) in ConvertStringToBSTR()
93 char* WINAPI ConvertBSTRToString(BSTR pSrc) in ConvertBSTRToString() argument
98 if (!pSrc) return NULL; in ConvertBSTRToString()
101 cwch = ::SysStringLen(pSrc) + 1; in ConvertBSTRToString()
104 cb = ::WideCharToMultiByte(CP_ACP, 0, pSrc, cwch, NULL, 0, NULL, NULL); in ConvertBSTRToString()
122 if (::WideCharToMultiByte(CP_ACP, 0, pSrc, cwch, szOut, cb, NULL, NULL) == 0) in ConvertBSTRToString()
/reactos/dll/win32/comctl32/
H A Ddsa.c133 LPVOID pSrc; in DSA_GetItem() local
143 memmove (pDest, pSrc, hdsa->nItemSize); in DSA_GetItem()
164 LPVOID pSrc; in DSA_GetItemPtr() local
175 TRACE("-- ret=%p\n", pSrc); in DSA_GetItemPtr()
177 return pSrc; in DSA_GetItemPtr()
200 TRACE("(%p %d %p)\n", hdsa, nIndex, pSrc); in DSA_SetItem()
230 pDest, pSrc, hdsa->nItemSize); in DSA_SetItem()
231 memmove (pDest, pSrc, hdsa->nItemSize); in DSA_SetItem()
256 TRACE("(%p %d %p)\n", hdsa, nIndex, pSrc); in DSA_InsertItem()
295 lpDest, pSrc, hdsa->nItemSize); in DSA_InsertItem()
[all …]
/reactos/dll/win32/imm32/
H A Dutils.c631 LPCSTR pchSrc = (LPCSTR)pSrc + pSrc->dwStrOffset; in Imm32ReconvertWideFromAnsi()
634 if (pSrc->dwVersion != 0) in Imm32ReconvertWideFromAnsi()
662 cch0 = IchWideFromAnsi(pSrc->dwCompStrOffset, pchSrc, uCodePage); in Imm32ReconvertWideFromAnsi()
666 cch0 = IchWideFromAnsi(pSrc->dwCompStrOffset + pSrc->dwCompStrLen, pchSrc, uCodePage); in Imm32ReconvertWideFromAnsi()
670 cch0 = IchWideFromAnsi(pSrc->dwTargetStrOffset, pchSrc, uCodePage); in Imm32ReconvertWideFromAnsi()
674 cch0 = IchWideFromAnsi(pSrc->dwTargetStrOffset + pSrc->dwTargetStrLen, pchSrc, uCodePage); in Imm32ReconvertWideFromAnsi()
694 LPCWSTR pchSrc = (LPCWSTR)((LPCSTR)pSrc + pSrc->dwStrOffset); in Imm32ReconvertAnsiFromWide()
697 if (pSrc->dwVersion != 0) in Imm32ReconvertAnsiFromWide()
703 cchDest = WideCharToMultiByte(uCodePage, 0, pchSrc, pSrc->dwStrLen, in Imm32ReconvertAnsiFromWide()
725 cch1 = pSrc->dwCompStrOffset / sizeof(WCHAR); in Imm32ReconvertAnsiFromWide()
[all …]
H A Dwin3.c17 const TRANSMSG *pSrc, LPTRANSMSG pDest) in Imm32JTransCompA() argument
20 *pDest = *pSrc; in Imm32JTransCompA()
27 const TRANSMSG *pSrc, LPTRANSMSG pDest) in Imm32JTransCompW() argument
30 *pDest = *pSrc; in Imm32JTransCompW()
H A Dime.c1801 ImmGetConversionListA(HKL hKL, HIMC hIMC, LPCSTR pSrc, LPCANDIDATELIST lpDst, in ImmGetConversionListA() argument
1810 TRACE("(%p, %p, %s, %p, %lu, 0x%lX)\n", hKL, hIMC, debugstr_a(pSrc), in ImmGetConversionListA()
1819 ret = pImeDpi->ImeConversionList(hIMC, pSrc, lpDst, dwBufLen, uFlag); in ImmGetConversionListA()
1824 if (pSrc) in ImmGetConversionListA()
1826 pszSrcW = Imm32WideFromAnsi(pImeDpi->uCodePage, pSrc); in ImmGetConversionListA()
1857 ImmGetConversionListW(HKL hKL, HIMC hIMC, LPCWSTR pSrc, LPCANDIDATELIST lpDst, in ImmGetConversionListW() argument
1866 TRACE("(%p, %p, %s, %p, %lu, 0x%lX)\n", hKL, hIMC, debugstr_w(pSrc), in ImmGetConversionListW()
1875 ret = pImeDpi->ImeConversionList(hIMC, pSrc, lpDst, dwBufLen, uFlag); in ImmGetConversionListW()
1880 if (pSrc) in ImmGetConversionListW()
1882 pszSrcA = Imm32AnsiFromWide(pImeDpi->uCodePage, pSrc); in ImmGetConversionListW()
H A Dprecomp.h181 Imm32ReconvertAnsiFromWide(LPRECONVERTSTRING pDest, const RECONVERTSTRING *pSrc, UINT uCodePage);
183 Imm32ReconvertWideFromAnsi(LPRECONVERTSTRING pDest, const RECONVERTSTRING *pSrc, UINT uCodePage);
/reactos/sdk/lib/atl/
H A Datlcomcli.h297 CComBSTR(LPCOLESTR pSrc) in CComBSTR() argument
299 if (pSrc == NULL) in CComBSTR()
302 m_str = ::SysAllocString(pSrc); in CComBSTR()
313 CComBSTR(int length, LPCOLESTR pSrc) in CComBSTR() argument
318 m_str = ::SysAllocStringLen(pSrc, length); in CComBSTR()
321 CComBSTR(PCSTR pSrc) in CComBSTR() argument
323 if (pSrc) in CComBSTR()
325 int len = MultiByteToWideChar(CP_THREAD_ACP, 0, pSrc, -1, NULL, 0); in CComBSTR()
329 int res = MultiByteToWideChar(CP_THREAD_ACP, 0, pSrc, -1, m_str, len); in CComBSTR()
/reactos/base/applications/msconfig_new/
H A Dxmldomparser.cpp16 ConvertUTF8StringToBSTR(const char *pSrc) in ConvertUTF8StringToBSTR() argument
21 if (!pSrc) return NULL; in ConvertUTF8StringToBSTR()
24 cwch = MultiByteToWideChar(CP_UTF8, 0, pSrc, -1, NULL, 0); in ConvertUTF8StringToBSTR()
36 if (MultiByteToWideChar(CP_UTF8, 0, pSrc, -1, wsOut, cwch) == 0) in ConvertUTF8StringToBSTR()
/reactos/sdk/lib/drivers/wdf/shared/irphandlers/pnp/
H A Dfxpkgpdo.cpp1367 PCWSTR pSrc; in _PnpQueryId() local
1384 pSrc = pThis->m_DeviceID; in _PnpQueryId()
1387 pSrc = pThis->m_InstanceID; in _PnpQueryId()
1390 pSrc = pThis->m_ContainerID; in _PnpQueryId()
1393 if (pSrc != NULL) { in _PnpQueryId()
1409 RtlCopyMemory(pBuffer, pSrc, cbLength); in _PnpQueryId()
1421 pSrc = pThis->m_HardwareIDs; in _PnpQueryId()
1424 pSrc = pThis->m_CompatibleIDs; in _PnpQueryId()
1427 if (pSrc != NULL) { in _PnpQueryId()
1441 if (pSrc != NULL) { in _PnpQueryId()
[all …]
/reactos/dll/win32/shell32/
H A Dutils.cpp823 _In_opt_ const NUMBERFMTW *pSrc, in Int64GetNumFormat() argument
832 if (pSrc) in Int64GetNumFormat()
833 *pDest = *pSrc; in Int64GetNumFormat()
939 _In_ IStream *pSrc, in CopyStreamUI() argument
952 TRACE("(%p, %p, %p, %I64u)\n", pSrc, pDst, pProgress, dwlSize); in CopyStreamUI()
958 if (FAILED(pSrc->Stat(&Stat, STATFLAG_NONAME))) in CopyStreamUI()
973 return pSrc->CopyTo(pDst, uliSize, NULL, NULL); // One punch in CopyStreamUI()
1001 pSrc->Seek(zero, 0, NULL); in CopyStreamUI()
1009 hr = pSrc->Read(pBuff, cbBuff, &cbRead); in CopyStreamUI()
/reactos/sdk/include/psdk/
H A Dmsdadc.idl45 [in] void *pSrc,
63 [in, size_is(*pcbSrcLength)] void *pSrc);
H A Ddimm.idl330 [in] LPSTR pSrc,
339 [in] LPWSTR pSrc,
/reactos/dll/win32/oleaut32/
H A Dvarformat.c1923 WCHAR *pSrc; in VARIANT_FormatString() local
1953 pSrc = V_BSTR(&vStr); in VARIANT_FormatString()
1956 blanks_first = strHeader->copy_chars - lstrlenW(pSrc); in VARIANT_FormatString()
1994 while (dwCount > 0 && *pSrc) in VARIANT_FormatString()
1997 *pBuff++ = towupper(*pSrc); in VARIANT_FormatString()
1999 *pBuff++ = towlower(*pSrc); in VARIANT_FormatString()
2001 pSrc++; in VARIANT_FormatString()
2022 while (*pSrc) in VARIANT_FormatString()
2025 *pBuff++ = towupper(*pSrc); in VARIANT_FormatString()
2027 *pBuff++ = towlower(*pSrc); in VARIANT_FormatString()
[all …]
H A Dvariant.c849 VARIANTARG vTmp, *pSrc = pvargSrc; in VariantCopyInd() local
875 pSrc = &vTmp; in VariantCopyInd()
888 if (V_ISARRAY(pSrc)) in VariantCopyInd()
893 else if (V_VT(pSrc) == (VT_BSTR|VT_BYREF)) in VariantCopyInd()
896 …STR(pvargDest) = SysAllocStringByteLen((char*)*V_BSTRREF(pSrc), SysStringByteLen(*V_BSTRREF(pSrc))… in VariantCopyInd()
907 if (*V_UNKNOWNREF(pSrc)) in VariantCopyInd()
908 IUnknown_AddRef(*V_UNKNOWNREF(pSrc)); in VariantCopyInd()
929 memcpy(&V_BYREF(pvargDest), V_BYREF(pSrc), VARIANT_DataSize(pSrc)); in VariantCopyInd()
932 V_VT(pvargDest) = V_VT(pSrc) & ~VT_BYREF; in VariantCopyInd()
936 if (pSrc != pvargSrc) in VariantCopyInd()
[all …]
/reactos/dll/directx/wine/quartz/
H A Dpin.c142 static void Copy_PinInfo(PIN_INFO * pDest, const PIN_INFO * pSrc) in Copy_PinInfo() argument
148 strcpyW(pDest->achName, pSrc->achName); in Copy_PinInfo()
149 pDest->dir = pSrc->dir; in Copy_PinInfo()
150 pDest->pFilter = pSrc->pFilter; in Copy_PinInfo()
/reactos/sdk/lib/3rdparty/strmbase/
H A Dmediatype.c60 AM_MEDIA_TYPE * WINAPI CreateMediaType(AM_MEDIA_TYPE const * pSrc) in CreateMediaType() argument
68 if (FAILED(CopyMediaType(pDest, pSrc))) in CreateMediaType()
H A Dpin.c146 static void Copy_PinInfo(PIN_INFO * pDest, const PIN_INFO * pSrc) in Copy_PinInfo() argument
152 strcpyW(pDest->achName, pSrc->achName); in Copy_PinInfo()
153 pDest->dir = pSrc->dir; in Copy_PinInfo()
154 pDest->pFilter = pSrc->pFilter; in Copy_PinInfo()
/reactos/modules/rostests/winetests/quartz/
H A Dfiltergraph.c706 static HRESULT CopyMediaType(AM_MEDIA_TYPE * pDest, const AM_MEDIA_TYPE *pSrc) in CopyMediaType() argument
708 *pDest = *pSrc; in CopyMediaType()
709 if (!pSrc->pbFormat) return S_OK; in CopyMediaType()
710 if (!(pDest->pbFormat = CoTaskMemAlloc(pSrc->cbFormat))) in CopyMediaType()
712 memcpy(pDest->pbFormat, pSrc->pbFormat, pSrc->cbFormat); in CopyMediaType()
718 static AM_MEDIA_TYPE * CreateMediaType(AM_MEDIA_TYPE const * pSrc) in CreateMediaType() argument
726 if (FAILED(CopyMediaType(pDest, pSrc))) in CreateMediaType()
907 static void Copy_PinInfo(PIN_INFO * pDest, const PIN_INFO * pSrc) in Copy_PinInfo() argument
909 lstrcpyW(pDest->achName, pSrc->achName); in Copy_PinInfo()
910 pDest->dir = pSrc->dir; in Copy_PinInfo()
[all …]
/reactos/dll/win32/msimtf/
H A Dactiveimmapp.c279 HKL hKL, HIMC hIMC, LPSTR pSrc, UINT uBufLen, UINT uFlag, in ActiveIMMApp_GetConversionListA() argument
282 *puCopied = ImmGetConversionListA(hKL, hIMC, pSrc, pDst, uBufLen, uFlag); in ActiveIMMApp_GetConversionListA()
287 HKL hKL, HIMC hIMC, LPWSTR pSrc, UINT uBufLen, UINT uFlag, in ActiveIMMApp_GetConversionListW() argument
290 *puCopied = ImmGetConversionListW(hKL, hIMC, pSrc, pDst, uBufLen, uFlag); in ActiveIMMApp_GetConversionListW()
/reactos/win32ss/user/user32/misc/
H A Dddemisc.c1275 HDDEDATA WINAPI DdeCreateDataHandle(DWORD idInst, LPBYTE pSrc, DWORD cb, DWORD cbOff, in DdeCreateDataHandle() argument
1303 idInst, pSrc, cb, cbOff, hszItem, debugstr_w(psz), wFmt, afCmd); in DdeCreateDataHandle()
1326 if (pSrc) in DdeCreateDataHandle()
1328 memcpy(pByte, pSrc + cbOff, cb); in DdeCreateDataHandle()
1340 HDDEDATA WINAPI DdeAddData(HDDEDATA hData, LPBYTE pSrc, DWORD cb, DWORD cbOff) in DdeAddData() argument
1345 TRACE("(%p,%p,cb %d, cbOff %d)\n", hData, pSrc, cb, cbOff); in DdeAddData()
1361 memcpy(pDst + cbOff, pSrc, cb); in DdeAddData()
/reactos/dll/win32/riched20/
H A Dstyle.c230 void ME_CopyCharFormat(CHARFORMAT2W *pDest, const CHARFORMAT2W *pSrc) in ME_CopyCharFormat() argument
233 assert(pSrc->cbSize == sizeof(CHARFORMAT2W)); in ME_CopyCharFormat()
235 *pDest = *pSrc; in ME_CopyCharFormat()
/reactos/dll/win32/setupapi/
H A Dsetupapi_private.h371 DWORD WINAPI CaptureAndConvertAnsiArg(LPCSTR pSrc, LPWSTR *pDst);
H A Dmisc.c547 DWORD WINAPI CaptureStringArg(LPCWSTR pSrc, LPWSTR *pDst) in CaptureStringArg() argument
552 *pDst = pSetupDuplicateString(pSrc); in CaptureStringArg()
574 DWORD WINAPI pSetupCaptureAndConvertAnsiArg(LPCSTR pSrc, LPWSTR *pDst) in pSetupCaptureAndConvertAnsiArg() argument
579 *pDst = pSetupMultiByteToUnicode(pSrc, CP_ACP); in pSetupCaptureAndConvertAnsiArg()
/reactos/dll/win32/iphlpapi/
H A Diphlpapi_main.c2062 IP_ADDR_STRING *pSrc = resInfo->DnsList->Next; in GetNetworkParams() local
2069 CopyMemory(pTarget, pSrc, sizeof(IP_ADDR_STRING)); in GetNetworkParams()
2075 pSrc = pSrc->Next; in GetNetworkParams()

12