GetRequestType Function

Applies To  

Retrieves the type of request that is being processed.

Syntax
GetRequestType(
    IPROCESSEXTREQ_HANDLE i_hIRequest,
    RequestType** o_requestType)
Parameters

i_hIRequest [In]

The handle you received in IProcessRequest. See hIRequest Variable.

o_requestType [Out]

The type of request.

Returns

Each function returns a RET_VALUE that is an error code of type Long. The return value is greater than zero if the call was successful, and zero or less if not. Use RET_OK(x) and RET_ERROR(x) to check for failure.

Remarks

The returned request type may be one of the following:

Constant Value

view

0

schedule

1

both

2

none

3



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com