Docs » Autodocs » dos.library » SetMode
SetMode - Set the current behavior of a handler (V36)
success = SetMode(fh, mode) D0 D1 D2 BOOL SetMode(BPTR, LONG)
SetMode() sends an ACTION_SCREEN_MODE packet to the handler in question, normally for changing a CON: handler to raw mode or vice-versa. For CON:, use 1 to go to RAW: mode, 0 for CON: mode.
fh - filehandle mode - The new mode you want
success - Boolean
|