## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### Default_Primary - Syntax

Description:

This action routine is invoked when the user accepts the primary display selection of the Video Display Configuration PM panel. The other three DSPINSTL action routines have identical calling sequences and return codes.

    #include <os2.h>

    HWND              hWnd;

    PDSPINSTL_DATA    dsp_stuc_ptr;

    ULONG             rc;            /*  Return codes. */

    rc = Default_Primary(hWnd, dsp_stuc_ptr);