Jump to content

KernCopyIn: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Ak120 moved page OS2 API:KEE:KernCopyIn to KernCopyIn
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Copy a buffer of user space data into a kernel buffer.
==Synopsis==
==Synopsis==
APIRET APIENTRY KernCopyIn(PVOID trgt, PVOID src, ULONG size);
APIRET APIENTRY KernCopyIn(PVOID trgt, PVOID src, ULONG size);
 
==Description==
Copy a buffer of user space data into a kernel buffer.


==Parameters==
==Parameters==
;trgt ([[PVOID]]) - input:Target buffer address in kernel space.
;src ([[PVOID]]) - input:Source buffer address in user space.
;size ([[ULONG]]) - input:Number of bytes to copy.


trgt
[[Category:KEE]]
    Target buffer address in kernel space.
src
    Source buffer address in user space.
size
    number of bytes to copy.
 
==Comments==
Finally, the routine I have waited for for eons...
 
[[Category:The OS/2 API Project]]

Latest revision as of 03:12, 28 May 2025

Copy a buffer of user space data into a kernel buffer.

Synopsis

APIRET APIENTRY KernCopyIn(PVOID trgt, PVOID src, ULONG size);

Parameters

trgt (PVOID) - input
Target buffer address in kernel space.
src (PVOID) - input
Source buffer address in user space.
size (ULONG) - input
Number of bytes to copy.