## Virtual Device Driver Reference for OS/2

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

### VDHBeginUseVPMStack - Format

This function is used to switch to the DOS session's protected-mode stack for hardware interrupts, exceptions, and so forth. This service can be called repeatedly, but only the first call will switch stacks. Subsequent calls increment use, count but remain on the VPM stack.

    #include mvdm.h

    VOID    ;

    VDHBeginUseVPMStack();