RPC_MGR_EPV

typedef void RPC_MGR_EPV;

typedef _if-name_SERVER_EPV {
    return-type (* Functionname) (param-list);
    ...    // one entry for each function in IDL file
}  
if-name_SERVER_EPV;

if-name
Specifies the name of the interface indicated in the IDL file.
return-type
Specifies the type returned by the function Functionname indicated in the IDL file.
Functionname
Specifies the name of the function indicated in the IDL file.
param-list
Specifies the arguments indicated for the function Functionname in the IDL file.

Remarks

The manager entry-point vector (EPV) is an array of function pointers. The array contains pointers to the implementations of the functions specified in the IDL file. The number of elements in the array is set to the number of functions specified in the IDL file. An application can also have multiple EPVs, representing multiple implementations of the functions specified in the interface.

The MIDL compiler generates a default EPV data type named if-name_SERVER_EPV, where if-name specifies the interface identifier in the IDL file. The MIDL compiler initializes this default EPV to contain function pointers for each of the procedures specified in the IDL file.

When the server offers multiple implementations of the same interface, the server application must declare and initialize one variable of type if-name_SERVER_EPV for each implementation of the interface. Each EPV must contain one entry point (function pointer) for each procedure defined in the IDL file.

See Also

RpcServerRegisterIfEx