LoadStringByReference function

Unsupported. LoadStringByReference may be altered or unavailable. Instead, use SHLoadIndirectString.

Syntax

BOOL LoadStringByReference(
  DWORD  Flags,
  PCWSTR Language,
  PCWSTR SourceString,
  PWSTR  Buffer,
  ULONG  cchBuffer,
  PCWSTR Directory,
  PULONG pcchBufferOut
);

Parameters

Flags

Reserved.

Language

The language.

SourceString

The source string reference.

Buffer

The buffer to receive the string.

cchBuffer

The size of Buffer, in characters.

Directory

The directory path to SourceString.

pcchBufferOut

The number of characters written to Buffer.

Return Value

A BOOL datatype.

Remarks

LoadStringByReference is not supported and may be altered or unavailable in the future. Instead, use SHLoadIndirectString.

Requirements

   
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header winnls.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll