| Last change
 on this file since 3136 was             955, checked in by sandervl, 26 years ago | 
        
          | 
Backup copy of old kernel32
 | 
        
          | File size:
            777 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: win32util.cpp,v 1.1 1999-09-15 23:33:01 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Misc functions | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl) | 
|---|
| 7 | * | 
|---|
| 8 | * | 
|---|
| 9 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 10 | * | 
|---|
| 11 | */ | 
|---|
| 12 | #include <os2win.h> | 
|---|
| 13 |  | 
|---|
| 14 | //****************************************************************************** | 
|---|
| 15 | //****************************************************************************** | 
|---|
| 16 | ULONG SYSTEM Win32QueryModuleName(ULONG hmod, char *modname, int modsize) | 
|---|
| 17 | { | 
|---|
| 18 | dprintf(("Win32QueryModuleHandle %X, %X, %d\n", hmod, modname, modsize)); | 
|---|
| 19 | return(GetModuleFileNameA(hmod, modname, modsize)); | 
|---|
| 20 | } | 
|---|
| 21 | //****************************************************************************** | 
|---|
| 22 | //****************************************************************************** | 
|---|
| 23 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.