pe_factory_code

Returns the factory code of the specified object.

Usage syntax

int pe_factory_code(struct pe_struct_t *p);

Parameters
p The pointer to an object
Description

Returns the factory code of the object if the object is predefined.

Returns

On success, the factory code of a predefined object. On failure, zero.

Examples

int pcs1_code = pe_factory_code(pcs1);