OpenDOF Project
DOSStatus DOSObjectID_Create_StandardString ( const char *  oid,
uint32 size,
DOSObjectID  oid_buffer 
)

Parses a standard string OID into a DOSObjectID if given.

If no DOSObjectID is given this will return the byte length needed for the DOSObjectID.

Parameters
oidThe standard string Object ID. Should not be NULL.
size[IN] length of the oid_buffer if not NULL. [OUT] The length used in the oid_buffer. Should not be NULL.
oid_bufferThe buffer to parse the oid into. May be NULL to have this function calculate needed buffer length.
Returns
DOSStatus If successful DOSSTATUS_SUCCESS will be returned.
core-c-cos Version 7.0.1 Build 0
2018-02-08