hab (HAB) - input
pqmsg (PQMSG) - output
Note: If the function returns FALSE, the state of the QMSG structure is undefined. Applications should always check the return code before examining this structure.
hwndFilter (HWND) - input
ulFirst (ULONG) - input
ulLast (ULONG) - input
flOptions (ULONG) - input
If neither of the following flags is specified, the message is not removed. If both of the following flags are specified, the message is removed:
PM_REMOVE
rc (BOOL) - returns
TRUE