25 <li id="GUID-3AAA1DCD-F21A-53A2-8AB8-39F42396972D"><p>How to request a change |
25 <li id="GUID-3AAA1DCD-F21A-53A2-8AB8-39F42396972D"><p>How to request a change |
26 to an SWP, with and without notification </p> </li> |
26 to an SWP, with and without notification </p> </li> |
27 <li id="GUID-5022B224-8620-5AB8-B8C7-F95296DC7A14"><p>How to request a change |
27 <li id="GUID-5022B224-8620-5AB8-B8C7-F95296DC7A14"><p>How to request a change |
28 to a system state, with and without notification </p> </li> |
28 to a system state, with and without notification </p> </li> |
29 </ul> </section> |
29 </ul> </section> |
30 <section id="GUID-878E4690-1F02-5C15-8B4E-F53E8EA8719D-GENID-1-7-1-8-1-1-7-1-5-1-6-1-3-2"><title>Download</title><p>Click |
30 <section id="GUID-878E4690-1F02-5C15-8B4E-F53E8EA8719D-GENID-1-10-1-9-1-1-7-1-5-1-6-1-3-2"><title>Download</title><p>Click |
31 on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-77c0248d-dda5-4b56-9d5a-eda76091bca2.zip" scope="external">ssmanager.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-77c0248d-dda5-4b56-9d5a-eda76091bca2.html" scope="peer">browse</xref> to view the example code. </p> </section> |
31 on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-77c0248d-dda5-4b56-9d5a-eda76091bca2.zip" scope="external">ssmanager.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-77c0248d-dda5-4b56-9d5a-eda76091bca2.html" scope="peer">browse</xref> to view the example code. </p> </section> |
32 <section><title>Class Summary</title><p><xref href="GUID-60E6220E-5B9B-3D4E-A95F-B7AD6DB8AF68.dita"><apiname>TSsmSwp</apiname></xref></p><p> <xref href="GUID-CEBD45FB-5E0E-3EBA-B134-545B7F82EBEC.dita"><apiname>TSsmStateTransition</apiname></xref></p><p> <xref href="GUID-76D2A5E8-BC64-3528-BED6-499E52CF8B2B.dita"><apiname>CSsmSystemWideProperty</apiname></xref></p><p> <xref href="GUID-89C25B0F-DB76-30D5-A4D6-0C12922194E4.dita"><apiname>RSsmStateAwareSession</apiname></xref></p><p> <xref href="GUID-8CE82869-EA9E-327C-B817-ACF497CCDC9D.dita"><apiname>RSsmStateManager</apiname></xref></p><p> <xref href="GUID-31FB0BC8-83FC-3581-A7A3-C1781CAE7187.dita"><apiname>MSsmSwpPolicy</apiname></xref></p><p> <xref href="GUID-ABE0DF1C-78FB-3141-8AE6-5CC8C73A8034.dita"><apiname>CSsmCommandList</apiname></xref></p><p> <xref href="GUID-62413EF5-F6F1-37C9-9213-5178EAE6C2F5.dita"><apiname>MSwpChangeNotificationSubscriber</apiname></xref></p><p> <xref href="GUID-4181374F-8545-3AF0-8932-A73138296FD1.dita"><apiname>CSsmCommandListResourceReader</apiname></xref></p><p> <xref href="GUID-B29C0C6D-4BFC-3AAF-B9CB-8C200CF4B4C7.dita"><apiname>MSsmConditionalCallback</apiname></xref></p></section> |
32 <section><title>Class Summary</title><p><xref href="GUID-60E6220E-5B9B-3D4E-A95F-B7AD6DB8AF68.dita"><apiname>TSsmSwp</apiname></xref></p><p> <xref href="GUID-CEBD45FB-5E0E-3EBA-B134-545B7F82EBEC.dita"><apiname>TSsmStateTransition</apiname></xref></p><p> <xref href="GUID-76D2A5E8-BC64-3528-BED6-499E52CF8B2B.dita"><apiname>CSsmSystemWideProperty</apiname></xref></p><p> <xref href="GUID-89C25B0F-DB76-30D5-A4D6-0C12922194E4.dita"><apiname>RSsmStateAwareSession</apiname></xref></p><p> <xref href="GUID-8CE82869-EA9E-327C-B817-ACF497CCDC9D.dita"><apiname>RSsmStateManager</apiname></xref></p><p> <xref href="GUID-31FB0BC8-83FC-3581-A7A3-C1781CAE7187.dita"><apiname>MSsmSwpPolicy</apiname></xref></p><p> <xref href="GUID-ABE0DF1C-78FB-3141-8AE6-5CC8C73A8034.dita"><apiname>CSsmCommandList</apiname></xref></p><p> <xref href="GUID-62413EF5-F6F1-37C9-9213-5178EAE6C2F5.dita"><apiname>MSwpChangeNotificationSubscriber</apiname></xref></p><p> <xref href="GUID-4181374F-8545-3AF0-8932-A73138296FD1.dita"><apiname>CSsmCommandListResourceReader</apiname></xref></p><p> <xref href="GUID-B29C0C6D-4BFC-3AAF-B9CB-8C200CF4B4C7.dita"><apiname>MSsmConditionalCallback</apiname></xref></p></section> |
33 <section id="GUID-C68A69F1-0692-50E3-A049-D38D90E4B52B"><title>Design and |
33 <section id="GUID-C68A69F1-0692-50E3-A049-D38D90E4B52B"><title>Design and |
34 implementation</title> <p>The example consists of several components: a System |
34 implementation</title> <p>The example consists of several components: a System |
35 State Manager example executable (<filepath>ssmanager.exe</filepath>), two |
35 State Manager example executable (<filepath>ssmanager.exe</filepath>), two |
72 transitions. </p> </li> |
72 transitions. </p> </li> |
73 <li id="GUID-4F412BA5-3A79-5688-BD95-A3C384981FC1"><p> <filepath>dummybackup.exe</filepath>: |
73 <li id="GUID-4F412BA5-3A79-5688-BD95-A3C384981FC1"><p> <filepath>dummybackup.exe</filepath>: |
74 The dummy application which is launched when the system state changes to 'backup'. |
74 The dummy application which is launched when the system state changes to 'backup'. |
75 It just prints a series of statements to the console. </p> </li> |
75 It just prints a series of statements to the console. </p> </li> |
76 </ul> </section> |
76 </ul> </section> |
77 <section id="GUID-DEFCF4B9-452A-5EAF-ABD3-BC4F6FBD528B-GENID-1-7-1-8-1-1-7-1-5-1-6-1-3-5"><title>Building and |
77 <section id="GUID-DEFCF4B9-452A-5EAF-ABD3-BC4F6FBD528B-GENID-1-10-1-9-1-1-7-1-5-1-6-1-3-5"><title>Building and |
78 configuring</title> <p>To build the example: </p> <ul> |
78 configuring</title> <p>To build the example: </p> <ul> |
79 <li id="GUID-BCB63B67-BA41-5BE6-B80A-3DE0A0211A96"><p>The example builds the |
79 <li id="GUID-BCB63B67-BA41-5BE6-B80A-3DE0A0211A96"><p>The example builds the |
80 following binaries </p> <p> <filepath>ssmanager.exe</filepath> </p> <p> <filepath>ssm.state.policy.0004.dll</filepath> </p> <p> <filepath>ssm.state.policy.0005.dll</filepath> </p> <p> <filepath>ssm.swp.policy.dummy.diskstatus.dll</filepath> </p> <p> <filepath>ssm.state.policy.0001.dll</filepath> </p> <p> <filepath>dummybackup.exe</filepath> </p> </li> |
80 following binaries </p> <p> <filepath>ssmanager.exe</filepath> </p> <p> <filepath>ssm.state.policy.0004.dll</filepath> </p> <p> <filepath>ssm.state.policy.0005.dll</filepath> </p> <p> <filepath>ssm.swp.policy.dummy.diskstatus.dll</filepath> </p> <p> <filepath>ssm.state.policy.0001.dll</filepath> </p> <p> <filepath>dummybackup.exe</filepath> </p> </li> |
81 <li id="GUID-1D7646C4-40E8-5615-BD7C-DAFF33483CD5"><p>You can build the example |
81 <li id="GUID-1D7646C4-40E8-5615-BD7C-DAFF33483CD5"><p>You can build the example |
82 from your IDE or the command line. </p> <p>If you use an IDE, import the <filepath>bld.inf</filepath> file |
82 from your IDE or the command line. </p> <p>If you use an IDE, import the <filepath>bld.inf</filepath> file |