IProfferService.RevokeService(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prevents third-party clients from accessing a specified service.
public:
int RevokeService(System::UInt32 dwCookie);
public:
int RevokeService(unsigned int dwCookie);
int RevokeService(unsigned int dwCookie);
public int RevokeService (uint dwCookie);
abstract member RevokeService : uint32 -> int
Public Function RevokeService (dwCookie As UInteger) As Integer
Parameters
- dwCookie
- UInt32
[in] Identifier of the specified service that is returned by a call to ProfferService(Guid, IServiceProvider, UInt32).
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method is safe to access from any thread.