StringFromResource function
The StringFromResource
function loads a string from a resource file with the given resource identifier.
Syntax
TCHAR* WINAPI StringFromResource(
TCHAR *pBuffer,
int iResourceID
);
Parameters
-
pBuffer
-
Pointer to the string corresponding to iResourceID.
-
iResourceID
-
Resource identifier of the string to retrieve.
Return value
Returns the same string as pBuffer. If the function is not successful, returns a null string.
Remarks
The pBuffer buffer must be at least STR_MAX_LENGTH bytes.
Requirements
Header |
|
Library |
|
See also