ILocalRegistry4.RegisterInterface(Guid) 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.
Registers an interface for marshaling by using a locally registered proxy.
public:
int RegisterInterface(Guid % riid);
public int RegisterInterface (ref Guid riid);
abstract member RegisterInterface : Guid -> int
Public Function RegisterInterface (ByRef riid As Guid) As Integer
Parameters
- riid
- Guid
ID of the interface to register.
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.