PM_findBPD

Function to find a BPD file on the SNAP driver file path

Declaration

ibool PMAPI PM_findBPD(
const char *dllname,
char *bpdpath)

Prototype In

pmapi.h

Parameters

dllname | Name of the Binary Portable DLL to load
bpdpath | Place to store the actual path to the file

Return Value

True if found, false if not.

Description

Finds the location of a specific Binary Portable DLL, by searching all the standard SciTech SNAP driver locations. If the file is found, we cache the SNAP driver location internally and search for all drivers relativ to this path for subsequent calls. Hence the first call to this function should be to find a parent BPD file that defines the root of all the BPD files in the installation (ie: graphics.bpd for the SNAP Graphics API).

See Also

PM_setLocalBPDPath

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com