Share via


IOemCan::QueryService

Warning  The Cellular COM API is deprecated in Windows 10. This content is provided to support maintenance of OEM and mobile operator created Windows Phone 8.1 applications.

 

The QueryService method returns a pointer to the implementation of a specified interface for the specified service.

Syntax

HRESULT QueryService( 
    REFGUID guidService, 
    REFIID riid, 
    void **ppv
);

Parameters

  • guidService
    [in] The GUID of the Service.

  • riid
    [in] The interface ID of the interface implementation to return.

  • ppv
    [out] Returns a pointer to the implementation of the interface specified by riid for the service specified by guidService.

Return values

Returns S_OK if the method was successful.

Requirements

Header: Generated from CellularAPI_OEM.idl

IOemCan

 

 

Send comments about this topic to Microsoft