.\" -*- nroff -*-
.\" Generated file - DO NOT EDIT!
.TH IUnknown_QueryService 3w "Oct 2012" "Wine API" "Wine API"

.SH NAME
\fBIUnknown_QueryService\fR (SHLWAPI.176)
.SH SYNOPSIS
HRESULT IUnknown_QueryService
 (
  IUnknown* \fIlpUnknown\fR,
  REFGUID   \fIsid\fR,
  REFIID    \fIriid\fR,
  LPVOID*   \fIlppOut\fR
 )

.SH DESCRIPTION
.PP
Retrieve a Service Interface from an object. 

.SH PARAMS
\fIlpUnknown\fR \fB[In]\fR  Object to get an \fBIServiceProvider\fR interface from.
.PP
\fIsid\fR \fB[In]\fR  Service Id for \fBIServiceProvider_QueryService(3w)\fR call.
.PP
\fIriid\fR \fB[In]\fR  Function requested for QueryService call.
.PP
\fIlppOut\fR \fB[Out]\fR  Destination for the service interface pointer.
.PP

.SH RETURNS
.PP
\fBSuccess:\fR \fBS_OK\fR. \fIlppOut\fR contains an object providing the requested service 
.PP
\fBFailure:\fR An \fBHRESULT\fR error code. 

.SH NOTES
.PP
\fIlpUnknown\fR is expected to support the \fBIServiceProvider\fR interface. 

.SH IMPLEMENTATION
.PP
Declared in \fB"shlwapi.h"\fR. 
.PP
Implemented in \fB"dlls/shlwapi/ordinal.c"\fR. 
.PP
Debug channel \fB"shell"\fR.