feat(windows64): 4JLibs durango parity / switch to wide
This commit is contained in:
1 parent
4c50659091
commit
baabec77f7
10 files changed
+73
-56
No files matched your search
@@ -30,13 +30,13 @@ class CDLC
|
||||
public:
|
||||
struct DriveMapping
|
||||
{
|
||||
DriveMapping(std::string szDirectoryPath, std::string szMountPath) : m_szDirectoryPath(szDirectoryPath), m_szMountPath(szMountPath)
|
||||
DriveMapping(std::wstring szDirectoryPath, std::wstring szMountPath) : m_szDirectoryPath(szDirectoryPath), m_szMountPath(szMountPath)
|
||||
{
|
||||
;
|
||||
}
|
||||
|
||||
std::string m_szMountPath;
|
||||
std::string m_szDirectoryPath;
|
||||
std::wstring m_szMountPath;
|
||||
std::wstring m_szDirectoryPath;
|
||||
};
|
||||
|
||||
XCONTENT_DATA &GetDLC(DWORD dw);
|
||||
@@ -46,15 +46,15 @@ public:
|
||||
DWORD dwOfferTypesBitmask = XMARKETPLACE_OFFERING_TYPE_CONTENT);
|
||||
void ClearOffers();
|
||||
C4JStorage::EDLCStatus GetInstalledDLC(int iPad, int (*Func)(LPVOID, int, int), LPVOID lpParam);
|
||||
DWORD MountInstalledDLC(int iPad, DWORD dwDLC, int (*Func)(LPVOID, int, DWORD, DWORD), LPVOID lpParam, LPCSTR szMountDrive = NULL);
|
||||
DWORD UnmountInstalledDLC(LPCSTR szMountDrive = NULL);
|
||||
void GetMountedDLCFileList(const char *szMountDrive, std::vector<std::string> &fileList);
|
||||
std::string GetMountedPath(std::string szMount);
|
||||
DWORD MountInstalledDLC(int iPad, DWORD dwDLC, int (*Func)(LPVOID, int, DWORD, DWORD), LPVOID lpParam, LPCWSTR szMountDrive = NULL);
|
||||
DWORD UnmountInstalledDLC(LPCWSTR szMountDrive = NULL);
|
||||
void GetMountedDLCFileList(const char *szMountDrive, std::vector<std::wstring> &fileList);
|
||||
std::wstring GetMountedPath(std::wstring szMount);
|
||||
|
||||
void SetDLCProductCode(const char *szProductCode);
|
||||
void SetProductUpgradeKey(const char *szProductCode);
|
||||
int GetAvailableDLCCount(int iPad);
|
||||
void SetPackageRoot(char *pszDLCRoot);
|
||||
void SetPackageRoot(wchar_t *pszDLCRoot);
|
||||
|
||||
void Tick(void);
|
||||
void AddInstalled(XCONTENT_DATA *data);
|
||||
@@ -70,10 +70,10 @@ public:
|
||||
DWORD m_iHasNewMountedDLCs;
|
||||
int (*m_pMountedDLCFunc)(LPVOID, int, DWORD, DWORD);
|
||||
LPVOID m_pMountedDLCParam;
|
||||
std::string m_szMountPath;
|
||||
std::wstring m_szMountPath;
|
||||
DWORD m_uiCurrentMappedDLC;
|
||||
DWORD m_dwLicenseMask;
|
||||
char m_szPackageRoot[40];
|
||||
wchar_t m_szPackageRoot[40];
|
||||
DWORD dwordC0;
|
||||
std::vector<DriveMapping> m_vDLCDriveMappings;
|
||||
char m_szDLCProductCode[16];
|
||||
|
||||
Reference in new issue
Block a user