## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreGetDCOrigin - Parameters

hdc (HDC) - input Device context handle.

pptlOrigin (PPOINTL) - input Pointer to the (X,Y) coordinates of the returned DC origin in screen coordinates.

pInstance (PVOID) - input Pointer to instance data.

lFunction (ULONG) - input High-order WORD=flags; low-order WORD= NGreGetDCOrigin.

rc (BOOL) - returns Return Code.

On completion, the handling routine must return a BOOLEAN value to indicate success or an error.

TRUE Successful
FALSE Error