.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH MsiLoadStringW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBMsiLoadStringW\fR (MSI.@) .SH SYNOPSIS LANGID MsiLoadStringW ( MSIHANDLE \fIhandle\fR, UINT \fIid\fR, LPWSTR \fIlpBuffer\fR, int \fInBufferMax\fR, LANGID \fIlang\fR ) .SH DESCRIPTION .PP Loads a string from \fBMSI\fR's string resources. .SH PARAMS \fIhandle\fR \fB[In]\fR only \fB-1\fR is handled currently. .PP \fIid\fR \fB[In]\fR Id of the string to be loaded. .PP \fIlpBuffer\fR \fB[Out]\fR buffer for the string to be written to. .PP \fInBufferMax\fR \fB[In]\fR maximum size of the buffer in characters. .PP \fIlang\fR \fB[In]\fR the preferred language for the string. .PP .SH RETURNS .PP If successful, this function returns the language Id of the string loaded If the function fails, the function returns zero. .SH NOTES .PP The type of the first parameter is unknown. LoadString's prototype suggests that it might be a module \fIhandle\fR. I have made it an \fBMSI\fR \fIhandle\fR for starters, as \fB-1\fR is an invalid \fBMSI\fR \fIhandle\fR, but not an invalid module \fIhandle\fR. Maybe strings can be stored in an \fBMSI\fR database somehow. .SH IMPLEMENTATION .PP Declared in \fB"msipriv.h"\fR. .PP Implemented in \fB"dlls/msi/msi.c"\fR. .PP Debug channel \fB"msi"\fR.