Hi all

I am running win 2k

Now i have been helpfully given a reference in c++ to a wonderfull little function in mapi32.dll

I can use dependancy walker to view the function but to get any details on the function eg aliases it may be under or any other such info i need quikview which does not ship with win 2k and is not supported

what I need to know if there are any gurus out there is where i can find the info i need to convert this function into a usable API call for vb

here is the c++ info on the function

Quick Info
Header file: MAPIUTIL.H
Implemented by: MAPI
Called by: Client applications and service providers


SCODE ScLocalPathFromUNC(
LPSTR szUNC,
LPSTR szLocal,
UINT cchLocal
);

Parameters
szUNC
[in] A path in the format \\[server]\[share]\[path] of a file or directory.
szLocal
[out] A path in the format [drive:]\[path] of the same file or directory as for the szUNC parameter.
cchLocal
[in] Size of the buffer for the output string.
See Also

and here is what i have in vb so far

VB Code:
  1. Declare Function ScLocalPathFromUNC Lib "mapi32" (ByVal szUNC As String _
  2. , ByVal szLocal As String, ByVal cchLocal As Integer) As Integer

However when i execute the call it says header entry not found

I know that the call is in mapi32 but it has a @12 after the name so i am assuming it must be able to be called with an alais to it. But blowed if i can work out what that might be

So please calling all gurus lets see how clever you all are