.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SHRegGetPathA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSHRegGetPathA\fR (SHLWAPI.@) .SH SYNOPSIS DWORD SHRegGetPathA ( HKEY \fIhKey\fR, LPCSTR \fIlpszSubKey\fR, LPCSTR \fIlpszValue\fR, LPSTR \fIlpszPath\fR, DWORD \fIdwFlags\fR ) .SH DESCRIPTION .PP Get a path from the registry. .SH PARAMS \fIhKey\fR \fB[In]\fR Handle to registry key. .PP \fIlpszSubKey\fR \fB[In]\fR Name of sub key containing path to get. .PP \fIlpszValue\fR \fB[In]\fR Name of value containing path to get. .PP \fIlpszPath\fR \fB[Out]\fR Buffer for returned path. .PP \fIdwFlags\fR \fB[In]\fR Reserved. .PP .SH RETURNS .PP \fBSuccess:\fR \fBERROR_SUCCESS\fR. \fIlpszPath\fR contains the path. .PP \fBFailure:\fR An error code from \fBRegOpenKeyExA(3w)\fR or \fBSHQueryValueExA(3w)\fR. .SH IMPLEMENTATION .PP Declared in \fB"shlwapi.h"\fR. .PP Implemented in \fB"dlls/shlwapi/reg.c"\fR. .PP Debug channel \fB"shell"\fR.