#define INCL_DOSMEMMGR USHORT rc = DosGiveSeg(CallerSegSelector, ProcessID, RecipientSegSelector); SEL CallerSegSelector; /* Caller's segment selector */ PID ProcessID; /* Process ID of recipient */ PSEL RecipientSegSelector; /* Recipient's segment selector (returned) */ USHORT rc; /* return code */