Lines Matching refs:hInstance
11 extern HINSTANCE g_hInstance;
20 static CSysString MyLoadStringA(HINSTANCE hInstance, UINT resourceID)
28 len = ::LoadString(hInstance, resourceID, s.GetBuffer(size - 1), size);
39 static void MyLoadString2(HINSTANCE hInstance, UINT resourceID, UString &s)
46 len = ::LoadStringW(hInstance, resourceID, s.GetBuffer(size - 1), size);
75 void MyLoadString(HINSTANCE hInstance, UINT resourceID, UString &dest)
80 MultiByteToUnicodeString2(dest, MyLoadStringA(hInstance, resourceID));
87 int len = ::LoadStringW(hInstance, resourceID, s, kStartSize);
94 MyLoadString2(hInstance, resourceID, dest);