30,13 → 30,6 |
uses |
Windows; |
|
type |
{$IFDEF UNICODE} |
PCharAW = PWideChar; |
{$ELSE} |
PCharAW = PAnsiChar; |
{$ENDIF} |
|
var |
DPlayDLL: HMODULE = 0; |
|
235,8 → 228,8 |
dwCurrentPlayers: DWORD; // Current # players in session (read only) |
case Integer of |
0: ( |
lpszSessionName: PCharAW; // Name of the session |
lpszPassword: PCharAW; // Password of the session (optional) |
lpszSessionName: PChar; // Name of the session |
lpszPassword: PChar; // Password of the session (optional) |
dwReserved1: DWORD; // Reserved for future MS use. |
dwReserved2: DWORD; |
dwUser1: DWORD; // For use by the application |
355,8 → 348,8 |
dwFlags: DWORD; // Not used. Must be zero. |
case Integer of |
0: ( |
lpszShortName: PCharAW; // The short or friendly name |
lpszLongName: PCharAW; // The long or formal name |
lpszShortName: PChar; // The short or friendly name |
lpszLongName: PChar; // The long or formal name |
); |
1: ( |
lpszShortNameA: PAnsiChar; |
379,9 → 372,9 |
dwFlags: DWORD; // Not used. Must be zero. |
case Integer of |
0: ( |
lpszUsername: PCharAW; // User name of the account |
lpszPassword: PCharAW; // Password of the account |
lpszDomain: PCharAW; // Domain name of the account |
lpszUsername: PChar; // User name of the account |
lpszPassword: PChar; // Password of the account |
lpszDomain: PChar; // Domain name of the account |
); |
1: ( |
lpszUsernameA: PAnsiChar; // User name of the account |
406,8 → 399,8 |
dwFlags: DWORD; // Not used. Must be zero. |
case Integer of |
0: ( |
lpszSSPIProvider: PCharAW; // SSPI provider name |
lpszCAPIProvider: PCharAW; // CAPI provider name |
lpszSSPIProvider: PChar; // SSPI provider name |
lpszCAPIProvider: PChar; // CAPI provider name |
dwCAPIProviderType: DWORD; // Crypto Service Provider type |
dwEncryptionAlgorithm: DWORD; // Encryption Algorithm type |
); |
431,7 → 424,7 |
dwSize: DWORD; // Size of structure |
dwFlags: DWORD; // Not used. Must be zero. |
case Integer of |
0: (lpszAccountID: PCharAW); // Account identifier |
0: (lpszAccountID: PChar); // Account identifier |
1: (lpszAccountIDA: PAnsiChar); |
2: (lpszAccountIDW: PWideChar); |
end; |
461,7 → 454,7 |
dwSize: DWORD; |
dwFlags: DWORD; |
case Integer of |
0: (lpszMessage: PCharAW); // Message string |
0: (lpszMessage: PChar); // Message string |
1: (lpszMessageA: PAnsiChar); |
2: (lpszMessageW: PWideChar); |
end; |
1701,7 → 1694,7 |
dwSize: DWORD; // Size of this structure |
guidApplication: TGUID; // GUID of the Application |
case Integer of // Pointer to the Application Name |
0: (lpszAppName: PCharAW); |
0: (lpszAppName: PChar); |
1: (lpszAppNameW: PWideChar); |
3: (lpszAppNameA: PChar); |
end; |
1727,12 → 1720,12 |
dwSize: DWORD; |
dwFlags: DWORD; |
case Integer of |
0: (lpszApplicationName: PCharAW; |
0: (lpszApplicationName: PChar; |
guidApplication: TGUID; |
lpszFilename: PCharAW; |
lpszCommandLine: PCharAW; |
lpszPath: PCharAW; |
lpszCurrentDirectory: PCharAW; |
lpszFilename: PChar; |
lpszCommandLine: PChar; |
lpszPath: PChar; |
lpszCurrentDirectory: PChar; |
lpszDescriptionA: PAnsiChar; |
lpszDescriptionW: PWideChar); |
1: (lpszApplicationNameA: PAnsiChar; |
1758,15 → 1751,15 |
dwSize: DWORD; |
dwFlags: DWORD; |
case Integer of |
0: (lpszApplicationName: PCharAW; |
0: (lpszApplicationName: PChar; |
guidApplication: TGUID; |
lpszFilename: PCharAW; |
lpszCommandLine: PCharAW; |
lpszPath: PCharAW; |
lpszCurrentDirectory: PCharAW; |
lpszFilename: PChar; |
lpszCommandLine: PChar; |
lpszPath: PChar; |
lpszCurrentDirectory: PChar; |
lpszDescriptionA: PAnsiChar; |
lpszDescriptionW: PWideChar; |
lpszAppLauncherName: PCharAW); |
lpszAppLauncherName: PChar); |
1: (lpszApplicationNameA: PAnsiChar; |
filler1: TGUID; |
lpszFilenameA: PAnsiChar; |