Gets the paragraph formatting attributes of the current selection.
In the first version, a pointer to a PARAFORMAT structure to hold the paragraph formatting attributes of the current selection.
In the second version, a pointer to a PARAFORMAT2 structure, which is a Rich Edit 2.0 extension to the PARAFORMAT structure, holding the default character formatting attributes.
If more than one paragraph is selected, pf receives the attributes of the first selected paragraph. The return value specifies which attributes are consistent throughout the selection.
For more information, see the EM_GETPARAFORMAT message and the PARAFORMAT and PARAFORMAT2 structures in the Platform SDK.