pRecord (PRECORDCORE)
If you set the pRecord field to a specific PRECORDCORE (rather than to CMA_FIRST or CMA_END), you must set the parent to NULL. If you do not do this and are inserting at the top level in tree view, the application will trap in PMCTLS.DLL.
pRecordInsert (PRECORDINSERT)
cRecords (ULONG)