The DAPIGetSiteInfo function retrieves the site information for a directory service agent.
Header file: | DAPI.H |
Library: | DAPI.LIB |
Unicode: | Yes |
PDAPI_EVENT DAPIGetSiteInfo(
DWORD dwFlags,
LPTSTR pszDSA,
PSITE_INFO * ppSiteInfo
);
If the DAPIGetSiteInfo function fails and returns a pointer to a DAPI_EVENT, you must free the memory allocated for that structure with a call to the DAPIFreeMemory function.
For more information on this function, see Using Directory Access Functions.