Subversion Repositories spacemission

Compare Revisions

Regard whitespace Rev 13 → Rev 12

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