GetResourceString.h File Reference
 
 
 
GetResourceString.h File Reference
#include "WindowsDefines.h"
#include "utilexp.h"
#include "strclass.h"

Namespaces

namespace   MaxSDK

Functions

MAX_DEPRECATED const MCHAR *  GetResourceString (HINSTANCE hinstance, UINT resourceId)
  Extract a resource from a module's string table. GetResourceString is essentially a wrapper around the Win32 API's LoadString, but it saves client code from the bother of maintaining a buffer and reduces duplicated code. Optimally, GetResourceString should be called through the single-parameter version from dllutilities.h.
UtilExport MSTR  GetResourceStringAsMSTR (HINSTANCE hinstance, UINT resourceId)
  Extract a resource from a module's string table.
UtilExport bool  GetResourceStringAsMSTR (HINSTANCE hinstance, UINT resourceId, MSTR &resourceString)
  Extract a resource from a module's string table.