Help for this page

Select Code to Download


  1. or download this
    DWORD DsGetDcName(
      __in   LPCTSTR ComputerName,
    ...
      __in   ULONG Flags,
      __out  PDOMAIN_CONTROLLER_INFO *DomainControllerInfo
    );
    
  2. or download this
    typedef struct _DOMAIN_CONTROLLER_INFO {
      LPTSTR DomainControllerName;
    ...
      LPTSTR DcSiteName;
      LPTSTR ClientSiteName;
    } DOMAIN_CONTROLLER_INFO, *PDOMAIN_CONTROLLER_INFO;
    
  3. or download this
    typedef struct _GUID {
      DWORD Data1;
    ...
      WORD  Data3;
      BYTE  Data4[8];
    }GUID;
    
  4. or download this
    use Win32::API;
    use strict;
    ...
    };
    
    print Dumper($dci);
    
  5. or download this
                     'DcSiteName' => '',
                     'DnsForestName' => '',
    ...
                     'DomainName' => '',
                     'DomainControllerAddressType' => 0
                   }, 'Win32::API::Struct' );
    
  6. or download this
    ABSTRACT ^
    
    With this module you can import and call arbitrary functions from Win3
    +2's Dynamic Link Libraries (DLL), without having to write an XS exten
    +sion. Note, however, that this module can't do everything. In fact, p
    +arameters input and output is limited to simpler cases.