hdc (HDC) - input
lPrimType (LONG) - input
Indicates the bundle type. Valid primitive values are:
PRIM_LINE
flAttrsMask (ULONG) - input
Specifies the attributes to be returned. This mask contains a bit corresponding to each attribute in the bundle record. For each set bit, the graphics engine returns the corresponding attribute values and default mask bits.
pAttrs (PBUNDLE) - input
Pointer to the fixed format bundle record containing the attributes returned. The only fields that are updated are those whose corresponding flags in flAttrsMask have been set.
pInstance (PVOID) - input
lFunction (ULONG) - input
rc (LONG) - returns
Possible Errors Detected: When an error is detected, the graphics engine calls WinSetErrorInfo to post the condition. Reasons for failure of this function include:
PMERR_HDC_BUSY PMERR_INV_HDC