LoadString function user32

int LoadString(
  1. int hInstance,
  2. int uID,
  3. Pointer<Utf16> lpBuffer,
  4. int cchBufferMax
)

Loads a string resource from the executable file associated with a specified module and either copies the string into a buffer with a terminating null character or returns a read-only pointer to the string resource itself.

int LoadStringW(
  HINSTANCE hInstance,
  UINT      uID,
  LPWSTR    lpBuffer,
  int       cchBufferMax
);

Implementation

int LoadString(
        int hInstance, int uID, Pointer<Utf16> lpBuffer, int cchBufferMax) =>
    _LoadString(hInstance, uID, lpBuffer, cchBufferMax);