Category : OS/2 Files
Archive   : DD_IN_C.ZIP
Filename : SKELETON.C

 
Output of file : SKELETON.C contained in archive : DD_IN_C.ZIP
int main(PREQPACKET rp, int dev)
{
switch(rp->RPcommand)
{
case RPINIT: /* 0x00 */

/* init called by kernel in protected mode */

return Init(rp);

case RPREAD: /* 0x04 */

return (RPDONE);

case RPWRITE: /* 0x08 */

return (RPDONE);

case RPINPUT_FLUSH: /* 0x07 */

return (RPDONE);

case RPOUTPUT_FLUSH: /* 0x0b */

return (RPDONE);

case RPOPEN: /* 0x0d */

return (RPDONE);

case RPCLOSE: /* 0x0e */

return (RPDONE);
case RPIOCTL: /* 0x10 */

switch (rp->s.IOCtl.function)
{
case 0x00: /* our function def #1 */

return (RPDONE);

case 0x01: /* our function def #2 */

return (RPDONE);
}

/* deinstall request */

case RPDEINSTALL: /* 0x14 */

return(RPDONE | RPERR | ERROR_BAD_COMMAND);

/* all other commands are flagged */

default:
return(RPDONE | RPERR | ERROR_BAD_COMMAND);

}
}




  3 Responses to “Category : OS/2 Files
Archive   : DD_IN_C.ZIP
Filename : SKELETON.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/