NW_NS_PATH

Defines parameters for returning an entry’s path with in a specified name space

Service:Name Space
Defined In:nwnamspc.h

Structure

   typedef struct 
   { 
      pnstr8    srcPath ; 
      pnstr8    dstPath ; 
      nuint16   dstPathSize ; 
   } NW_NS_PATH;
   

Delphi Structure

   uses calwin32 
    
     NW_NS_PATH = packed Record 
       srcPath : pnstr8;  
       dstPath : pnstr8;  
       dstPathSize : nuint16 
     End;
   

Fields

srcPath

Points to a valid path. When this structure used with the NWGetNSPathExt function, the characters in the path string must be UTF-8.

dstPath

Points to a buffer to receive the full name space path. When this structure used with the NWGetNSPathExt function, the destination path is returned in UTF-8 characters.

dstPathSize

Specifies the length of new path buffer. The new path buffer should be long enough to hold the longest path possible for destNameSpace plus 2 extra bytes for working space.

Remarks

The NWGetNSPath and NWGetNSPathExt functions use this structure. The NWGetNSPath function gets and returns strings in the local code page; the NWGetNSPathExt gets and returns strings in UTF-8 on NSS volumes.