home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR24
/
MEMSZ210.ZIP
/
RESTRING.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-15
|
552b
|
24 lines
// Class RESTRING: Encapsulates the load/discard
// logic for a resource String Table entry.
#define INCL_BASE
#include <os2.h>
class ResourceString
{
private:
HMODULE SavedModule ;
ULONG SavedId ;
PVOID BlockPointer ;
PSZ StringPointer ;
public:
ResourceString ( HMODULE Module, ULONG Id ) ;
// ~ResourceString ( ) ;
inline PSZ Ptr ( ) { return ( (PSZ)StringPointer ) ; }
inline ULONG QueryModule ( ) { return ( SavedModule ) ; }
inline ULONG QueryId ( ) { return ( SavedId ) ; }
} ;