Main Page | File List | Globals

src/registry.c File Reference

Helper functions for the Windows registry. More...

#include "plibc_private.h"

Go to the source code of this file.

Functions

long QueryRegistry (HKEY hMainKey, char *pszKey, char *pszSubKey, char *pszBuffer, long *pdLength)
 Get information from the Windows registry.


Detailed Description

Helper functions for the Windows registry.

Definition in file registry.c.


Function Documentation

long QueryRegistry HKEY  hMainKey,
char *  pszKey,
char *  pszSubKey,
char *  pszBuffer,
long *  pdLength
 

Get information from the Windows registry.

Parameters:
hMainKey handle to (main-)key to query (HKEY_LOCAL_MACHINE etc.)
pszKey name of key to query
pszSubKey name of subkey to query
pszBuffer buffer for returned string
pdLength receives size of returned string
Returns:
Error code from winerror.h, ERROR_SUCCESS on success

Definition at line 36 of file registry.c.

Referenced by _plibc_DetermineHomeDir(), and _plibc_DetermineRootDir().


Generated on Sun Sep 4 11:16:48 2005 for PlibC by  doxygen 1.4.2