DosSetDosProperty allows an OS/2 session to set a DOS property.
#include <os2.h> SGID SGID; PSZ PszName; ULONG cb; PSZ pch; APIRET rc; rc = DosSetDosProperty(SGID, PszName, cb, pch);