Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi WLan API Funktion anwenden (https://www.delphipraxis.net/118186-wlan-api-funktion-anwenden.html)

Kytrix 2. Aug 2008 12:11


WLan API Funktion anwenden
 
Delphi-Quellcode:
function WlanConnect(hClientHandle: Handle; const pInterfaceGuid: PGUID;
const pConnectionParameters: PWLAN_CONNECTION_PARAMETERS;pReserved: PVOID): DWORD; stdcall;
pReserved muss = NULL sein

hiho mit dieser Funktion will ich mich mit meinem Router verbinden lassen da ich aber nicht wirklich die (Delphi)WLan API durchschaue habe ich ein paar fragen dazu.

1.An das hClientHandle komme ich mit

Delphi-Quellcode:
function WlanOpenHandle(dwClientVersion: DWORD; pReserved: PVOID;
  pdwNegotiatedVersion: PWord; phClientHandle: PHandle): DWORD; stdcall;
das einzige was mir davon bekannt ist ist "dwClientVersion".....

2. Wie komme ich an den globally unique identifier (GUID) ?

3. Wie komme ich an die ConnectionParameters
(wlan_connection_mode ist mir bekannt)
strProfile: LPCTSTR;
pDot11Ssid: PDOT11_SSID;
pDesiredBssidList: PDOT11_BSSID_LIST;
dot11BssType: DOT11_BSS_TYPE;
dwFlags: DWORD;

Sry sind viele Fragen auf einmal :oops: aber ich habe auch schon überall gesucht.

Vielen Dank im vorraus


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:42 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz