.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH QueryRegistryValue 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBQueryRegistryValue\fR (SETUPAPI.@) .SH SYNOPSIS LONG QueryRegistryValue ( HKEY \fIhKey\fR, LPCWSTR \fIlpValueName\fR, LPBYTE* \fIlpData\fR, LPDWORD \fIlpType\fR, LPDWORD \fIlpcbData\fR ) .SH DESCRIPTION .PP Retrieves value data from the registry and allocates memory for the value data. .SH PARAMS \fIhKey\fR \fB[In]\fR Handle of the key to query. .PP \fIlpValueName\fR \fB[In]\fR Name of value under hkey to query. .PP \fIlpData\fR \fB[Out]\fR Destination for the values contents,. .PP \fIlpType\fR \fB[Out]\fR Destination for the value type. .PP \fIlpcbData\fR \fB[Out]\fR Destination for the size of data. .PP .SH RETURNS .PP \fBSuccess:\fR \fBERROR_SUCCESS\fR .PP \fBFailure:\fR Otherwise. .SH NOTES .PP Use MyFree to release the \fIlpData\fR buffer. .SH IMPLEMENTATION .PP Declared in \fB"setupapi.h"\fR. .PP Implemented in \fB"dlls/setupapi/misc.c"\fR. .PP Debug channel \fB"setupapi"\fR.