ppb (PPVOID) - output
pszName (PSZ) - input
The name is an ASCIIZ string in the format of an OS/2 file name, and is in the subdirectory \SHARMEM\, for example, \SHAREMEM\PUBLIC.DAT.
flag (ULONG) - input
Desired Access Protection
The following access protections are available:
At least one of the bits PAG_READ, PAG_WRITE, or PAG_EXECUTE must be specified.
ulrc (APIRET) - returns
DosGetNamedSharedMem returns one of the following values: