Huw Davies (@huw) commented about programs/rpcss/rpcss_main.c:
}
+/* Generates a new OXID suitable for use by an apartment.
- Each call to this function returns a distinct OXID.
- This function should not be invoked directly - use rpcss_get_new_apartment_oxid
- instead. */
+HRESULT __cdecl irpcss_get_new_apartment_oxid(handle_t h, OXID *oxid) +{
- HRESULT status;
- ULONG oxid_upper_bits;
- static LONG oxid_lower_bits;
- status = I_RpcBindingInqLocalClientPID(h, &oxid_upper_bits);
- ERR("Got client PID: %ld", oxid_upper_bits);
- if (status != S_OK) {
Please put the opening brace on a new line.