Synopsis
PDX_MSGT step_HeaderDbptr(long option, int model, MDA_PTR *desc_ptr, MDA_PTR *name_ptr, MDA_PTR *schema_ptr)
Purpose
Get the database pointers to the Part 21 header entities of a step model.
Description
Searches a given model for the Part 21 header entities (FILE_DESCRIPTION, FILE_NAME, and FILE_SCHEMA). A replacement value of NULL can be passed to the function if certain entities are not wanted. For Example:
step_HeaderDbptr(MDA_NOOPT,model,&desc_ptr,NULL,&schema_ptr);
Input
option
Option (Not Used)
model
Model ID
desc_ptr
Address of FILE_DESCRIPTION structure
name_ptr
Address of FILE_NAME structure
schema_ptr
Address of FILE_SCHEMA structure
Output
desc_ptr
Model's FILE_DESCRIPTION structure
name_ptr
Model's FILE_NAME structure
schema_ptr
Model's FILE_SCHEMA structre
Return
STEP_NOERR or error code