00001 // 00002 // Copyright 2009 Autodesk, Inc. All rights reserved. 00003 // 00004 // Use of this software is subject to the terms of the Autodesk license 00005 // agreement provided at the time of installation or download, or which 00006 // otherwise accompanies this software in either electronic or hard copy form. 00007 // 00008 // 00009 00010 // Most source files should not include this file directly. Instead, they 00011 // should include dllutilities.h. 00012 00013 #pragma once 00014 #include "WindowsDefines.h" 00015 #include "utilexp.h" 00016 #include "strclass.h" 00017 00018 namespace MaxSDK 00019 { 00020 00041 UtilExport const MCHAR* GetResourceString(HINSTANCE hinstance, UINT resourceId); 00042 00058 UtilExport MSTR GetResourceStringAsMSTR(HINSTANCE hinstance, UINT resourceId); 00059 00076 UtilExport bool GetResourceStringAsMSTR(HINSTANCE hinstance, UINT resourceId, MSTR& resourceString); 00077 00078 }