Developing Custom CPcode Functions In the DLP environment, CPcode can be used for creating new custom DLP Data Types. Note - Throughout this guide, "data types" has two meanings: CPcode data types are the supported data objects that can be used in scripts. For example: a CPcode data type is "integer". DLP data types are the representation of data sent by users, to identify messages that should be matched to the DLP policy. For example: a DLP Data Type is "Social Security Numbers".