---
title: NewComponentRoutineUPP
framework: Core Services
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: coreservices/1516579-newcomponentroutineupp
---

# NewComponentRoutineUPP

Creates a new universal procedure pointer (UPP) to a component routine callback function.

## Declaration

```occ
ComponentRoutineUPP NewComponentRoutineUPP(ComponentRoutineProcPtr userRoutine);
```

## Parameters

- `userRoutine`: 

## Return Value

See the description of the `ComponentRoutineUPP` data type.

## Discussion

See the  [ComponentRoutineProcPtr](componentroutineprocptr.md)  callback for more information. 

## See Also

### Creating and Managing Universal Procedure Pointers

- [InvokeComponentRoutineUPP](1516654-invokecomponentroutineupp.md)
- [DisposeComponentRoutineUPP](1516334-disposecomponentroutineupp.md)
- [NewComponentFunctionUPP](1516583-newcomponentfunctionupp.md)
- [DisposeComponentFunctionUPP](1516369-disposecomponentfunctionupp.md)
- [NewComponentMPWorkFunctionUPP](1516448-newcomponentmpworkfunctionupp.md)
- [InvokeComponentMPWorkFunctionUPP](1516356-invokecomponentmpworkfunctionupp.md)
- [DisposeComponentMPWorkFunctionUPP](1516328-disposecomponentmpworkfunctionup.md)
- [NewGetMissingComponentResourceUPP](1516619-newgetmissingcomponentresourceup.md)
- [InvokeGetMissingComponentResourceUPP](1516491-invokegetmissingcomponentresourc.md)
- [DisposeGetMissingComponentResourceUPP](1516414-disposegetmissingcomponentresour.md)
