F_GET_ACTIVE_DIRECTORY

///////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Function Name : f_get_active_directory
// Argument Name : (None)
// Return Type :       String
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Local External Functions :
// Function boolean GetCurrentDirectoryA (long nBufferLength, ref string lpBuffer)
// Library "kernel32.dll"
///////////////////////////////////////////////////////////////////////////////////////////////////////////////

String ls_temp
Ulong lul_value
Boolean lb_rc

lul_value = 255
ls_temp = space (255)
lb_rc = GetCurrentDirectoryA (lul_value, ls_temp)

Return ls_temp

0 comments:

Post a Comment