| Line |  | 
|---|
| 1 | /* $Id: win32util.cpp,v 1.3 2000-02-16 14:22:11 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 | #define DBG_LOCALLOG    DBG_win32util | 
|---|
| 15 | #include "dbglocal.h" | 
|---|
| 16 |  | 
|---|
| 17 | //****************************************************************************** | 
|---|
| 18 | //****************************************************************************** | 
|---|
| 19 | ULONG SYSTEM Win32QueryModuleName(ULONG hmod, char *modname, int modsize) | 
|---|
| 20 | { | 
|---|
| 21 | dprintf(("Win32QueryModuleHandle %X, %X, %d\n", hmod, modname, modsize)); | 
|---|
| 22 | return(GetModuleFileNameA(hmod, modname, modsize)); | 
|---|
| 23 | } | 
|---|
| 24 | //****************************************************************************** | 
|---|
| 25 | //****************************************************************************** | 
|---|
| 26 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.