|
Last change
on this file since 354 was 354, checked in by stevenhl, 17 years ago |
|
Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.
|
|
File size:
684 bytes
|
| Line | |
|---|
| 1 | //----------------------------------------------------------------------//
|
|---|
| 2 | // //
|
|---|
| 3 | // //
|
|---|
| 4 | // //
|
|---|
| 5 | // //
|
|---|
| 6 | // //
|
|---|
| 7 | // //
|
|---|
| 8 | // //
|
|---|
| 9 | //----------------------------------------------------------------------//
|
|---|
| 10 |
|
|---|
| 11 | #define INCL_NOPMAPI
|
|---|
| 12 | #define INCL_DOSMODULEMGR
|
|---|
| 13 | #define INCL_DOSSEMAPHORES
|
|---|
| 14 | #include <os2.h>
|
|---|
| 15 |
|
|---|
| 16 | #include <stdio.h>
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 | int main(void)
|
|---|
| 20 | {
|
|---|
| 21 | HMODULE hMod;
|
|---|
| 22 | APIRET rc;
|
|---|
| 23 |
|
|---|
| 24 | rc = DosLoadModule(NULL, 0, "CMIVSD", &hMod);
|
|---|
| 25 | if( rc == 0 )
|
|---|
| 26 | {
|
|---|
| 27 | printf("CMIVSD geladen !\n");
|
|---|
| 28 |
|
|---|
| 29 | getchar();
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | DosFreeModule(hMod);
|
|---|
| 33 | }
|
|---|
| 34 | else printf("Failed to load CMIVSD (%d) !\n", rc);
|
|---|
| 35 |
|
|---|
| 36 | return 0;
|
|---|
| 37 | }
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.