summaryrefslogtreecommitdiff
path: root/plugins/ShellExt
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 09:25:14 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-13 09:25:14 +0000
commitb5b57169c2833b9e70cc4cff7cae127c11f02683 (patch)
tree7785b60d2dbd94e4618f527716d8fe224cec15c2 /plugins/ShellExt
parenta85d3756ce4eb0257025b005deb795ba05fd4fda (diff)
CopyMemory -> memcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@11363 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ShellExt')
-rw-r--r--plugins/ShellExt/src/shlcom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ShellExt/src/shlcom.cpp b/plugins/ShellExt/src/shlcom.cpp
index b6619a2472..76f937c7c6 100644
--- a/plugins/ShellExt/src/shlcom.cpp
+++ b/plugins/ShellExt/src/shlcom.cpp
@@ -387,7 +387,7 @@ void __stdcall ipcService(ULONG_PTR dwParam)
// translate from client space to cloned heap memory
pMMT->pServerBaseAddress = pMMT->pClientBaseAddress;
pMMT->pClientBaseAddress = cloned;
- CopyMemory(cloned, pMMT, IPC_PACKET_SIZE);
+ memcpy(cloned, pMMT, IPC_PACKET_SIZE);
ipcFixupAddresses(true, cloned);
DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &cloned->Param, THREAD_SET_CONTEXT, false, 0);
mir_forkthread(&IssueTransferThread, cloned);