| dpx.h (6.1.7601.17514-Windows_7.0) | | dpx.h (6.3.9600.16384-Windows_8.1) |
| // Copyright Microsoft Corporation. All rights reserved. | | // Copyright Microsoft Corporation. All rights reserved. |
| | |
| #pragma once | | #pragma once |
|
| | #include <winapifamily.h> |
| | |
| | #pragma region Desktop Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| | |
| #include <dpx1.h> | | #include <dpx1.h> |
| | |
| // | | // |
| // DpxNewJob and DpxRestoreJob require a TargetPath which is the local file | | // DpxNewJob and DpxRestoreJob require a TargetPath which is the local file |
| // system directory under which extracted files should be created. If the | | // system directory under which extracted files should be created. If the |
| // directory does not exist, DpxNewJob or DpxRestoreJob will fail. Files | | // directory does not exist, DpxNewJob or DpxRestoreJob will fail. Files |
| // created under TargetPath directory may include relative subdirectory names | | // created under TargetPath directory may include relative subdirectory names |
| // or even stream names. Files and subdirectories will be created with | | // or even stream names. Files and subdirectories will be created with |
| // inherited ACL from TargetPath and owner from the thread calling | | // inherited ACL from TargetPath and owner from the thread calling |
| // IDpxJob::ProvideRequestedData. During the course of extraction, additional | | // IDpxJob::ProvideRequestedData. During the course of extraction, additional |
| // temporary files might be created in the TargetPath directory but will be | | // temporary files might be created in the TargetPath directory but will be |
| // deleted when the job completes. If the job is cancelled or destroyed | | // deleted when the job completes. If the job is cancelled or destroyed |
| // before completing, these temporary files may not be automatically deleted. | | // before completing, these temporary files may not be automatically deleted. |
| // To move partially completed extraction job to different TargetPath, caller | | // To move partially completed extraction job to different TargetPath, caller |
| // may Suspend and SaveJobState, then tree-copy entire existing TargetPath | | // may Suspend and SaveJobState, then tree-copy entire existing TargetPath |
| // contents to new location, create a new IDpxJob instance, then DpxRestoreJob | | // contents to new location, create a new IDpxJob instance, then DpxRestoreJob |
| // using the new TargetPath location. | | // using the new TargetPath location. |
| // | | // |
|
| | // DpxNewJobEx and DpxRestoreJobEx are similar to DpxNewJob and DpxRestoreJob, |
| | // with the only difference being that the user provides a GUID which is used |
| | // to create the temporary content below the TargetPath as described above. |
| | // This enables more than one Dpx job to be simultaneouly created and managed |
| | // with identical TargetPath without interfering with one another. |
| | // |
| | |
|
| EXTERN_C HRESULT WINAPI DpxNewJob( __in LPCWSTR TargetPath, __deref_out IDpxJob
** ppJob ); | | EXTERN_C HRESULT WINAPI DpxNewJob( _In_ LPCWSTR TargetPath, _Outptr_ IDpxJob **
ppJob ); |
| | |
|
| EXTERN_C HRESULT WINAPI DpxRestoreJob( __in LPCWSTR TargetPath, __deref_out IDpx
Job ** ppJob ); | | EXTERN_C HRESULT WINAPI DpxNewJobEx( _In_ LPCWSTR TargetPath, _In_opt_ GUID* Cli
entGuid, _Outptr_ IDpxJob ** ppJob ); |
| | |
|
| EXTERN_C VOID WINAPI DpxFreeMemory( __in void* Allocation ); | | EXTERN_C HRESULT WINAPI DpxRestoreJob( _In_ LPCWSTR TargetPath, _Outptr_ IDpxJob |
| | ** ppJob ); |
| | |
| | EXTERN_C HRESULT WINAPI DpxRestoreJobEx( _In_ LPCWSTR TargetPath, _In_opt_ GUID* |
| | ClientGuid, _Outptr_ IDpxJob ** ppJob ); |
| | |
| | EXTERN_C VOID WINAPI DpxFreeMemory( _In_ void* Allocation ); |
| | |
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| | #pragma endregion |
| | |
| End of changes. 5 change blocks. |
| 2 lines changed or deleted | | 12 lines changed or added |
|