source: trunk/essentials/dev-lang/python/PC/import_nt.c@ 3392

Last change on this file since 3392 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 2.4 KB
Line 
1/********************************************************************
2
3 import_nt.c
4
5 Win32 specific import code.
6
7*/
8
9#include "Python.h"
10#include "osdefs.h"
11#include <windows.h>
12#include "importdl.h"
13#include "malloc.h" /* for alloca */
14
15/* a string loaded from the DLL at startup */
16extern const char *PyWin_DLLVersionString;
17
18FILE *PyWin_FindRegisteredModule(const char *moduleName,
19 struct filedescr **ppFileDesc,
20 char *pathBuf,
21 Py_ssize_t pathLen)
22{
23 char *moduleKey;
24 const char keyPrefix[] = "Software\\Python\\PythonCore\\";