C++
virtual Acad::ErrorStatus FixedProfileStorage( AcApProfileStorage*& pStore, BOOL bCreateIfNotExists = TRUE ) = 0;
Description
Gets the AcApProfileStorage object associated with the fixed profile, which is independent of any specific profile. The AcApProfileStorage object represents the XML-based profile storage file. Profile information can be stored to the profile XML file using this object. The returned pointer is owned by the profile manager and should not be deleted. It is also a temporary pointer and should not be stored for use because the profile manager may delete the pointer at any time. A pointer should be obtained from the profile manager each time it is needed.
If the function succeeds, the return value is eOk. If there is no fixed profile storage or if the function fails, the return value is an AutoCAD error status.
Parameters
Parameters | Description |
---|---|
pStore | Output reference to receive the fixed profile storage object |
bCreateIfNotExists | Input Boolean: if TRUE, the function creates the fixed profile storage if it does not exist; if FALSE, it does not create the profile storage if it does not exist and returns error |