Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*++
Copyright (c) 1995 - 1997 Microsoft Corporation All rights reserved.
Module Name:
loadlib.hxx
Abstract:
Dynamic Library Loader Author:
Steve Kiraly (SteveKi) 10/17/95
Revision History:
--*/
#ifndef _LOADLIB_HXX
#define _LOADLIB_HXX
/********************************************************************
Helper class to load and release a DLL. Use the bValid for library load validation.
********************************************************************/
class TLibrary {
public:
TLibrary:: TLibrary( IN LPCTSTR pszLibName );
TLibrary:: ~TLibrary( );
BOOL TLibrary:: bValid( VOID ) const;
FARPROC TLibrary:: pfnGetProc( IN LPCSTR pszProc ) const;
FARPROC TLibrary:: pfnGetProc( IN UINT uOrdinal ) const;
HINSTANCE TLibrary:: hInst( VOID ) const;
private:
HINSTANCE _hInst; };
#endif // ndef _LOADLIB_HXX
|