The function shows or hides POI category in POI category list.
- Parameters
-
lpError | Additional error information returned from Drive. |
dwCategory | Category ID. Possible values are enumerated in PoiService enum. |
lpszCategory | Custom category name to show/hide. |
bShow | Flag determinig whether MakeUserPoiVisible shows or hides category. If bShow=true category will be shown if bShow=false category will be hidden. |
dwMaxTime | Maximum time (in milliseconds) function can take. If dwMaxTime=0 function execution is not time limited. |
- Returns
- 1 if successful, other value otherwise.
If MakeUserPoiVisible hides custom category the category does not occur in category list.
If dwCategory=PoiService.USERDEFINE it is necessary to set also strCategory. Otherwise category name is obtained from category ID.
Possible error codes returned from Drive are:
- 0 - Function not succeeded.
- 1 - Function succeeded.
- 2 - Drive not succeeded.
- 3 - Function reached timeout.