NtOpenProcess or ZwOpenProcess

Can someone tell me how to obtain a process handle in a driver ? If it is done with NtOpenProcess or ZwOpenProcess, please advise how to setup the call.

Any help is appreciated.
Thanks