The TAPICLIENT_LineSetMediaMode function is called during a call to the lineSetMediaMode function.
LONG TAPICLIENT_LineSetMediaMode(
HMANAGEMENTCLIENT hmClient,
LPTAPIPERMANENTID lpPermanentID,
DWORD dwMediaModes
);
lineSetMediaMode, TAPICLIENT_ClientInitialize, TAPIPERMANENTID