CPBContext::SetName

Class CPBContext

VOID SetName(PCTSTR pszName)

VOID SetName(ULONG ulNameStringId, HINSTANCE hModule = NULL)

Remarks

Calls PBSetContext to change the szName field of the underlying PB_CONTEXT structure.

Passing NULL (the default value) for the hModule parameter results in an attempt to load the string from the calling process. If the string table resides in a DLL, the parameter must be non-NULL.