AddContentTypeToList Method
Adds the specified content type to the specified list.
Syntax
int AddContentTypeToList(char* lpszContentTypeId, char* lpszListName);
Remarks
If successful, this call will apply the content type specified by ContentTypeId to the ListName.
NOTE: The content type that exists in the list after this call will contain a new Id.